summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mount.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-10-14 19:40:00 +0000
committerrwatson <rwatson@FreeBSD.org>2002-10-14 19:40:00 +0000
commite19a397f04cf447681a765daf2ac2ee7d9bfdb08 (patch)
tree910d84f626335814f31a7ab33cec683e9d6d77ea /sbin/mount/mount.c
parent0bdb757b1abd0d2ef8428f0dbf05e27ee319f61c (diff)
downloadFreeBSD-src-e19a397f04cf447681a765daf2ac2ee7d9bfdb08.zip
FreeBSD-src-e19a397f04cf447681a765daf2ac2ee7d9bfdb08.tar.gz
Teach mount(8) about MNT_ACLS for the purposes of mount options and
mount option printing. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r--sbin/mount/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index 8eff3a8..f0daa55 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -108,6 +108,7 @@ static struct opt {
{ MNT_SUIDDIR, "suiddir" },
{ MNT_SOFTDEP, "soft-updates" },
{ MNT_MULTILABEL, "multilabel" },
+ { MNT_ACLS, "acls" },
{ 0, NULL }
};
@@ -764,6 +765,7 @@ flags2opts(flags)
if (flags & MNT_NOSYMFOLLOW) res = catopt(res, "nosymfollow");
if (flags & MNT_SUIDDIR) res = catopt(res, "suiddir");
if (flags & MNT_MULTILABEL) res = catopt(res, "multilabel");
+ if (flags & MNT_ACLS) res = catopt(res, "acls");
return res;
}
OpenPOWER on IntegriCloud