Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 10:35:06 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/113667: [patch] mtree.8 update in example chapter
Message-ID:  <20070614003506.A86A8DE@k7.mavetju>
Resent-Message-ID: <200706140040.l5E0e3As024610@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113667
>Category:       docs
>Synopsis:       [patch] mtree.8 update in example chapter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 14 00:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386


>Description:

mtree(8) manpage is missing an example on how to create mtree input files

>How-To-Repeat:
>Fix:

Index: mtree.8
===================================================================
RCS file: /home/ncvs/src/usr.sbin/mtree/mtree.8,v
retrieving revision 1.55
diff -u -r1.55 mtree.8
--- mtree.8	29 Sep 2006 17:57:03 -0000	1.55
+++ mtree.8	14 Jun 2007 00:20:56 -0000
@@ -322,6 +322,17 @@
 .Sh EXIT STATUS
 .Ex -std
 .Sh EXAMPLES
+To create an
+.Pa /etc/mtree
+style BSD.*.dist file, use
+.Nm
+.Fl c
+.Fl d
+.Fl i
+.Fl n
+.Fl k 
+.Cm uname,gname,mode,nochange.
+.Pp
 To detect system binaries that have been ``trojan horsed'', it is recommended
 that
 .Nm

>Release-Note:
>Audit-Trail:
>Unformatted:



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