diff options
author | pjd <pjd@FreeBSD.org> | 2006-10-31 21:54:51 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-10-31 21:54:51 +0000 |
commit | a724cc6cf0c3875ac1137aea7a45acd3b0a2d715 (patch) | |
tree | 775a389773518dd2552923fdbb327c00f1abcaaf /sbin | |
parent | ad87251c1a1185717a0f74277ecd4a6def65e583 (diff) | |
download | FreeBSD-src-a724cc6cf0c3875ac1137aea7a45acd3b0a2d715.zip FreeBSD-src-a724cc6cf0c3875ac1137aea7a45acd3b0a2d715.tar.gz |
Teach mount(8) about MNT_GJOURNAL flag.
MNT_GJOURNAL flag is not a mount-time flag, but it is needed to show
'gjournal' option in mount(8) output.
Sponsored by: home.pl
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mount/mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 63a9728..9e5de11 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -106,6 +106,7 @@ static struct opt { { MNT_SOFTDEP, "soft-updates" }, { MNT_MULTILABEL, "multilabel" }, { MNT_ACLS, "acls" }, + { MNT_GJOURNAL, "gjournal" }, { 0, NULL } }; @@ -833,6 +834,7 @@ flags2opts(int flags) if (flags & MNT_SUIDDIR) res = catopt(res, "suiddir"); if (flags & MNT_MULTILABEL) res = catopt(res, "multilabel"); if (flags & MNT_ACLS) res = catopt(res, "acls"); + if (flags & MNT_GJOURNAL) res = catopt(res, "gjournal"); return (res); } |