[comp.unix.xenix] tar

corwin@polari.UUCP (Don Glover) (03/08/90)

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,
etc...) I am thinking of removing the /u all together and just having
a root system so that I will be less likely to run short of space next
time I install an update or something.  

campbell@Thalatta.COM (Bill Campbell) (03/08/90)

In article <1359@polari.UUCP> corwin@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