home *** CD-ROM | disk | FTP | other *** search
- From: harvard!husc6!bunker!zink@seismo.CSS.GOV (David Zink)
-
- In article <8362@ut-sally.UUCP> henry@utzoo.UUCP (Henry Spencer) writes:
- )From: henry@utzoo.UUCP (Henry Spencer)
- )
- )As a counterpoint to Kenneth Almquist's example of tar fouling up links,
- )try the following:
- )
- ) echo hi >one
- ) ln one two
- ) ls one two | cpio -o >/tmp/foo
- ) rm one two
- ) cpio -i one </tmp/foo
- ) cpio -i two </tmp/foo
- )
- )Now we have cpio creating two files where there was supposed to be only one
- )with two links. Note that tar would get this one right! (Although you would
- )have to be careful to get the order right, admittedly a wart.)
-
- Actually This should always create TWO FILES! Unless you want to go to
- the effort of proving that one has not been modified when two is removed.
- We're seeing two separate invocations of cpio with no knowledge of each
- other -- How could it be correct to link them ??
- :g/^>/s//;-)/
-
- [ Um, haven't we about beat this subsubject to death? - mod ]
-
- Volume-Number: Volume 11, Number 86
-
-