Article View: comp.std.unix
Article #999Re: tar or cpio? Tar, of course!
From: Jim Cottrell
Date: Tue, 12 May 1987 23:17
Date: Tue, 12 May 1987 23:17
53 lines
2726 bytes
2726 bytes
In article <8018@ut-sally.UUCP> rbj@icst-cmr.arpa writes:
>Depends on what you mean. I have had troubles reading the original
>TPC V6 & V7 distribution tapes under 4.2 BSD. Perhaps the format has
>changed since then. Anyone have a tar that will read these tapes?
Ok, the joke's on me. I'll try dump. Now on to Joe Yao's articles.
? >I would also like to see an option not to cross mount points, that is
? >stay on the same partition. This should be added to several major utilities.
?
? Easy enough:
? [%$] su
? Password:
? # mount
? / on /dev/disk-0
? /prime on /dev/disk-1
? /prime/secundus on /dev/disk-2
? # unmount /dev/disk-2
? # cd /prime
? # tar xv
?
? Other than that, this is awfully hard to do unless you are willing
? to break modularity by sticking info about the FS into programs
? which have no need to know about it whatsoever.
Find on BSD4.3 has -xdev, and others have -prune. It is often desirable
to restrict searches to a single file system. Besides, to unmount /usr,
you have to kill all the daemons, and then the only editor you have is ed.
? In article <8006@ut-sally.UUCP> guy@sun.com (Guy Harris) writes:
? > 3) It is less common. Almost all UNIX systems that support
? > "cpio" also support "tar"; many UNIX systems that support
? > "tar" do not support "cpio".
?
? Guy's arguments are mostly good, especially when reasoning about
? the byte-order problem. It should perhaps be noted, though, that
? cpio pre-dates tar, and that there are probably numerous systems
? "out there" that have cpio but not tar. This, at least, seems to
? be one of the arguments used by X/OPEN.
Saying cpio predates tar might be strictly true, but tar hit the streets
first. Do you know of any UNII that have cpio but not tar?
? Joe Yao jsdy@hadron.COM (not yet domainised)
? hadron!jsdy@{seismo.CSS.GOV,dtix.ARPA,decuac.DEC.COM}
? {arinc,att,avatar,cos,decuac,dtix,ecogong,kcwc}!hadron!jsdy
? {netex,netxcom,rlgvax,seismo,smsdpg,sundc}!hadron!jsdy
(Root Boy) Jim "Just Say Yes" Cottrell <rbj@icst-cmr.arpa>
I just had my entire INTESTINAL TRACT coated with TEFLON!
Volume-Number: Volume 11, Number 24
Technical Details
Message-ID:
<8031@ut-sally.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!std-unixShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!std-unix From: rbj@icst-cmr.arpa (Jim Cottrell) Newsgroups: comp.std.unix Subject: Re: tar or cpio? Tar, of course! Message-ID: <8031@ut-sally.UUCP> Date: Tue, 12-May-87 19:17:16 EDT Article-I.D.: ut-sally.8031 Posted: Tue May 12 19:17:16 1987 Date-Received: Sat, 16-May-87 04:07:32 EDT Sender: std-unix@ut-sally.UUCP Reply-To: rbj@icst-cmr.arpa Lines: 53 Approved: jsq@sally.utexas.edu (Moderator, John Quarterman)