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:
parent
7fd1f2b8bc
commit
81dc101cf6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105162
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user