From owner-p4-projects@FreeBSD.ORG Wed Jan 14 12:07:30 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5999B16A4D0; Wed, 14 Jan 2004 12:07:30 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A03316A4CE for ; Wed, 14 Jan 2004 12:07:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AF7643D69 for ; Wed, 14 Jan 2004 12:06:50 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0EK6N0B095463 for ; Wed, 14 Jan 2004 12:06:23 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0EK6NKn095460 for perforce@freebsd.org; Wed, 14 Jan 2004 12:06:23 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 14 Jan 2004 12:06:23 -0800 (PST) Message-Id: <200401142006.i0EK6NKn095460@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 45352 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 20:07:30 -0000 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();