summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-02-26 01:14:27 +0000
committerrwatson <rwatson@FreeBSD.org>2004-02-26 01:14:27 +0000
commitf0df387d8416e8fa18a3e6e923a4b45b5e8771d4 (patch)
treefc9111877d18382c6d76139cc79472cce73691e5 /sbin/newfs/newfs.h
parent1de257deb3229812024de5861eb0aaa41e471448 (diff)
downloadFreeBSD-src-f0df387d8416e8fa18a3e6e923a4b45b5e8771d4.zip
FreeBSD-src-f0df387d8416e8fa18a3e6e923a4b45b5e8771d4.tar.gz
Add a "-l" flag to newfs, which sets the FS_MULTILABEL flag. This
permits users of newfs to set the multilabel flag on UFS1 and UFS2 file systems from inception without using tunefs. Obtained from: TrustedBSD Project Sponsored by: DARPA, McAfee Research
Diffstat (limited to 'sbin/newfs/newfs.h')
-rw-r--r--sbin/newfs/newfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/newfs/newfs.h b/sbin/newfs/newfs.h
index 1c82685..981701a 100644
--- a/sbin/newfs/newfs.h
+++ b/sbin/newfs/newfs.h
@@ -53,6 +53,7 @@ extern int Oflag; /* build UFS1 format file system */
extern int Rflag; /* regression test */
extern int Uflag; /* enable soft updates for file system */
extern int Eflag; /* exit as if error, for testing */
+extern int lflag; /* enable multilabel MAC for file system */
extern quad_t fssize; /* file system size */
extern int sectorsize; /* bytes/sector */
extern int realsectorsize; /* bytes/sector in hardware*/
OpenPOWER on IntegriCloud