Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!uw-entropy!thebes!campbell From: campbell@Thalatta.COM (Bill Campbell) Newsgroups: comp.unix.xenix Subject: Re: tar Keywords: tar filesystems Message-ID: <3268@thebes.Thalatta.COM> Date: 7 Mar 90 19:23:51 GMT References: <1359@polari.UUCP> Reply-To: campbell@Thalatta.COM (Bill Campbell) Organization: Thalatta Corporation, Bellevue WA Lines: 26 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