Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 12:06:23 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 45352 for review
Message-ID:  <200401142006.i0EK6NKn095460@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45352

Change 45352 by rwatson@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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401142006.i0EK6NKn095460>