docs/113667: [patch] mtree.8 update in example chapter

Edwin Groothuis edwin at mavetju.org
Thu Jun 14 00:40:04 UTC 2007


>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 at 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:



More information about the freebsd-doc mailing list