diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-15 18:14:05 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-15 18:14:05 +0000 |
commit | 90fa623fbd99e0f5829e3680b3533f88783595e3 (patch) | |
tree | 09d560a6b512492a3a75ad654d5f428833eae574 /sbin | |
parent | 28b39014f922f14aa60f52a085ff3b255a3726cb (diff) | |
download | FreeBSD-src-90fa623fbd99e0f5829e3680b3533f88783595e3.zip FreeBSD-src-90fa623fbd99e0f5829e3680b3533f88783595e3.tar.gz |
Teach tunefs to print the ACL and multilabel flag information when
inspecting a superblock.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/tunefs/tunefs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index 45166c8..fdd44e4 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -444,6 +444,10 @@ putsb(fs, file, all) void printfs() { + warnx("ACLs: (-a) %s", + (sblock.fs_flags & FS_ACLS)? "enabled" : "disabled"); + warnx("MAC multilabel: (-l) %s", + (sblock.fs_flags & FS_MULTILABEL)? "enabled" : "disabled"); warnx("soft updates: (-n) %s", (sblock.fs_flags & FS_DOSOFTDEP)? "enabled" : "disabled"); warnx("maximum blocks per file in a cylinder group: (-e) %d", |