tar
Bill Campbell
campbell at Thalatta.COM
Thu Mar 8 05:23:51 AEST 1990
In article <1359 at polari.UUCP> corwin at polari.UUCP (Don Glover) writes:
>A question about tar; Is it possible to un-tar to a file systems
>other than the the one that was tar-ed from? Situation:
>I need to re-divvy may st4096, when I first set up xenix, I put
>about 67000 or so blocks on the root system and 70000 or so on
>the /u system, now I have acquired a fair amount of software that
>resides on the root (integra, word, the development system, sco professional,
It is a good idea to ALWAYS tar (or cpio for that matter) relative to the
current directory as in "tar -cvf /dev/rmt0 ." (you may want do "cd /u").
This way you can tar it into any directory you want. In fact I will often
tar it into a uucp or tmp directory to make sure that the files are
completely readable BEFORE I wipe out the originals.
The Xenix versions of tar since Xenix III have supported a -A option to
untar relative to the current directory suppressing absolute path names,
but this is not supported in most vendors tar (nor do other vendors
support multi-volume tar as well as Xenix). The format for this is
tar -xvfA /dev/rmt0
which will suppress absolute path names.
--
....microsoft--\ Bill Campbell; Celestial Software
...uw-beaver-----!thebes!camco!bill 6641 East Mercer Way
....fluke------/ Mercer Island, Wa 98040
....hplsla----/ (206) 232-4164
More information about the Comp.unix.xenix
mailing list