Teach tunefs to print the ACL and multilabel flag information when

inspecting a superblock.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
Robert Watson 2002-10-15 18:14:05 +00:00
parent 7fd1f2b8bc
commit 81dc101cf6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105162

View File

@ -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",