Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common use



details:   https://anonhg.NetBSD.org/src/rev/7213da26443e
branches:  trunk
changeset: 499068:7213da26443e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Nov 10 06:56:11 2000 +0000

description:
use
        (cd /foo ; tar zxpf -) < bar.tar.gz
instead of
        tar -C /foo -zxpf bar.tar.gz
since the `pax as tar' on the install media doesn't have a working -C...

diffstat:

 distrib/notes/common/main        |  6 +++---
 distrib/notes/common/postinstall |  7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r b15029802eb7 -r 7213da26443e distrib/notes/common/main
--- a/distrib/notes/common/main Fri Nov 10 06:35:45 2000 +0000
+++ b/distrib/notes/common/main Fri Nov 10 06:56:11 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: main,v 1.86 2000/11/10 06:21:07 lukem Exp $
+.\"    $NetBSD: main,v 1.87 2000/11/10 06:56:11 lukem Exp $
 .\"
 .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -538,7 +538,7 @@
 .Pa /usr/src
 with the command:
 .Pp
-.Dl # Ic "tar -C / -zxpf set_name.tgz"
+.Dl # Ic "( cd / ; tar -zxpf - ) < set_name.tgz"
 .Pp
 The
 .Pa sets/Split/
@@ -565,7 +565,7 @@
 .Ic cat
 as follows:
 .Pp
-.Dl # Ic "cat set_name.?? | tar -C / -xzpf -"
+.Dl # Ic "cat set_name.?? | ( cd / ; tar -zxpf - )"
 .Pp
 In each of the source distribution set directories, there are
 files which contain the checksums of the files in the directory:
diff -r b15029802eb7 -r 7213da26443e distrib/notes/common/postinstall
--- a/distrib/notes/common/postinstall  Fri Nov 10 06:35:45 2000 +0000
+++ b/distrib/notes/common/postinstall  Fri Nov 10 06:56:11 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: postinstall,v 1.16 2000/11/02 16:40:45 mbw Exp $
+.\"    $NetBSD: postinstall,v 1.17 2000/11/10 06:56:11 lukem Exp $
 .\"
 .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -251,9 +251,10 @@
 .Lk ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz
 They are typically extracted into
 .Pa /usr/pkgsrc
-(though other locations work fine), as with the command:
+(though other locations work fine), with the commands:
 .Pp
-.Dl # Ic "mkdir /usr/pkgsrc; tar -C /usr/pkgsrc -zxpf pkgsrc.tar.gz"
+.Dl # Ic "mkdir /usr/pkgsrc"
+.Dl # Ic "( cd /usr/pkgsrc ; tar -zxpf - ) < pkgsrc.tar.gz"
 .Pp
 After extracting, then see the
 .Pa README



Home | Main Index | Thread Index | Old Index