tar or cpio?
Snoopy
snoopy at doghouse.gwd.tek.com
Fri Feb 5 02:21:43 AEST 1988
In article <246 at mancol.UUCP> samperi at mancol.UUCP (Dominick Samperi) writes:
>I've heard that cpio will be used as the unix standard archiver, yet
>many people seem to prefer tar.
- Tar needs fewer options to do what I want it to do.
- Tar handles symbolic links. Most implementations of cpio don't.
(I added this to UTek's cpio. Great fun.)
- The code for tar is nice and clean, easy to figure out, return codes are
checked for errors, etc. The code for cpio is a mess. => I trust tar
farther than I trust cpio. (If you are writing your own from scratch
this isn't a consideration.)
- Most implementations of tar don't handle multiple volumes. (I haven't
checked John's PD tar, perhaps it does?) If it doesn't fit on one
volume, you're stuck with cpio or using one of those multivolume
programs.
Snoopy
tektronix!doghouse.gwd!snoopy
snoopy at doghouse.gwd.tek.com
NFS: No Frigging Security
More information about the Comp.unix.questions
mailing list