Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site hadron.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!rlgvax!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: net.unix Subject: Re: tar format Message-ID: <165@hadron.UUCP> Date: Fri, 27-Dec-85 15:00:17 EST Article-I.D.: hadron.165 Posted: Fri Dec 27 15:00:17 1985 Date-Received: Mon, 6-Jan-86 03:55:23 EST References: <358@ukecc.UUCP> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Organization: Hadron, Inc., Fairfax, VA Lines: 25 Keywords: P1003, tar Summary: No, will be, no. In article <358@ukecc.UUCP> edward@ukecc.UUCP (Edward C. Bennett) writes: > I'm sure this has been beaten to death before so please MAIL >your responses. Strangely, not, so I'll post my response. > When BSD tar creates an archive of a directory, it (by default) >writes a tar header block for the directory itself. SysV tar doesn't do >this. Is one way more 'correct' than the other? Is there an actual "standard" >for tar written down somewhere? Should I bother to hack my SysV tar to >write directory blocks? >UUCP: ihnp4!cbosgd!ukma!ukecc!edward On 4BSD, the 'o' flag specifies that directory blocks not be written "for compatibility with previous versions." This is not to be confused with s5's 'o' flag which specifies on input that the files' ownership not be changed to match the tape. Personally, I prefer that the directory information be passed, but so far I haven't bothered to hack s5 tar (and make it non-SV-standard). I'm not sure whether SVID addresses it (I'm pretty sure it doesn't). However, the IEEE OS standard has a tape information interchange standard that looks remarkably, I am told, like tar. ;-) -- Joe Yao hadron!jsdy@seismo.{CSS.GOV,ARPA,UUCP}