Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!umd5!decuac!felix!zemon From: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Newsgroups: comp.unix.ultrix Subject: another 2.2 gotcha Message-ID: <33343@felix.UUCP> Date: 4 May 88 00:24:31 GMT Sender: zemon@felix.UUCP Reply-To: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Organization: Teknowledge, Inc., Palo Alto CA Lines: 27 Approved: zemon@felix.UUCP Reply-Path: Under ultrix 1.2 (and other 4bsd Unixes, as well as HP-UX and NCR SysV), tar cf - /usr/myhome/subdir/myfile | tar tf - would produce /usr/myhome/subdir/myfile Under ultrix 2.2, you get /usr/ /usr/myhome/ /usr/myhome/subdir/myfile We've been using tar to "archive" user files where the archiving utility will read back the tar tape and then delete the on-disk copies of what's been copied to tape (i.e., the names that "tar t" returns). Well, you can see how the way the 2.2 version of tar works becomes a problem. We nearly lost our /usr subtree. I certainly don't recall seeing any mention of this change to tar's behavior in the Release Notes, nor is it prominently noted (if at all) in the man file. Mike Khaw -- internet: mkhaw@teknowledge-vaxc.arpa usenet: {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge-vaxc.arpa USnail: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303