PERFORCE change 45352 for review
Robert Watson
rwatson at FreeBSD.org
Wed Jan 14 20:06:23 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=45352
Change 45352 by rwatson at rwatson_tislabs on 2004/01/14 12:05:33
Add "-l" which requests a multilabel file system.
Affected files ...
.. //depot/projects/trustedbsd/mac/sbin/mdmfs/mdmfs.8#12 edit
.. //depot/projects/trustedbsd/mac/sbin/mdmfs/mdmfs.c#11 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sbin/mdmfs/mdmfs.8#12 (text+ko) ====
@@ -45,6 +45,7 @@
.Op Fl F Ar file
.Op Fl f Ar frag-size
.Op Fl i Ar bytes
+.Op Fl l
.Op Fl m Ar percent-free
.Op Fl n Ar rotational-positions
.Op Fl O Ar optimization
@@ -162,6 +163,8 @@
The fragment size of the file system in bytes.
.It Fl i Ar bytes
Number of bytes per inode.
+.It Fl l
+Enables multilabel MAC on the new file system.
.It Fl L
Show the output of the helper programs.
By default,
==== //depot/projects/trustedbsd/mac/sbin/mdmfs/mdmfs.c#11 (text+ko) ====
@@ -118,7 +118,7 @@
compat = true;
while ((ch = getopt(argc, argv,
- "a:b:Cc:Dd:e:F:f:hi:LMm:Nn:O:o:p:Ss:t:Uv:w:X")) != -1)
+ "a:b:Cc:Dd:e:F:f:hi:LlMm:Nn:O:o:p:Ss:t:Uv:w:X")) != -1)
switch (ch) {
case 'a':
argappend(&newfs_arg, "-a %s", optarg);
@@ -166,6 +166,9 @@
usage();
loudsubs = true;
break;
+ case 'l':
+ argappend(&newfs_arg, "-l");
+ break;
case 'M':
if (have_mdtype)
usage();
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list