summaryrefslogtreecommitdiffstats
path: root/etc/mtree/README
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1999-08-23 05:12:43 +0000
committerrgrimes <rgrimes@FreeBSD.org>1999-08-23 05:12:43 +0000
commit49e5b666a76efa0ecc8376004243358466df5518 (patch)
treee3dab389b9a7ec56f5c2aac4be9625a09319414e /etc/mtree/README
parent4a1cbe018257e5cc198be01f2e2957e3d4934870 (diff)
downloadFreeBSD-src-49e5b666a76efa0ecc8376004243358466df5518.zip
FreeBSD-src-49e5b666a76efa0ecc8376004243358466df5518.tar.gz
Fix script in README to actually work, empty lines produce as
much a diff as lines with the wrong stuff on it. Add references in mtree data files to the README.
Diffstat (limited to 'etc/mtree/README')
-rw-r--r--etc/mtree/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/mtree/README b/etc/mtree/README
index e0eb19e..bafa838 100644
--- a/etc/mtree/README
+++ b/etc/mtree/README
@@ -1,4 +1,4 @@
-$Id$
+$Id: README,v 1.1 1999/08/23 01:16:26 rgrimes Exp $
These files are used to create empty file hierarchies for building the
system into. Some notes about working with them are placed here to try
@@ -18,13 +18,13 @@ and keep them in good working order.
c) The listing should be keep in filename sorted order.
d) Sanity checking changes to these files can be done by following
- this procedure (the sed -e's are ugly, but fixing mtree -c to
+ this procedure (the sed -e is ugly, but fixing mtree -c to
not emit the trailing white space would be even uglier):
mkdir /tmp/MTREE
mtree -deU -f BSD.X.dist -p /tmp/MTREE
mtree -cdin -k uname,gname,mode | sed -e 's/ *$//' | \
- sed -e 's/^#\t//' >BSD.X.new
+ tail +5 >BSD.X.new
diff -u BSD.X.dist BSD.X.new
rm -r /tmp/MTREE
OpenPOWER on IntegriCloud