home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.sysv386:16565 comp.unix.sys5.r4:533
- Newsgroups: comp.unix.sysv386,comp.unix.sys5.r4
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!fwi.uva.nl!janw
- From: janw@fwi.uva.nl (Jan Wortelboer)
- Subject: Re: tar problems
- Message-ID: <1992Nov17.185512.516@fwi.uva.nl>
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: mail.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <1992Nov12.164004.9850@netnews.whoi.edu> <1992Nov16.232139.27765@dg-rtp.dg.com>
- Date: Tue, 17 Nov 1992 18:55:12 GMT
- Lines: 52
-
- GNU cpio is the solution!!!!!!!
- eliot@chutney.rtp.dg.com (Topher Eliot) writes:
-
- >In article <1992Nov12.164004.9850@netnews.whoi.edu>, gie@charon.er.usgs.gov (Gerald I. Evenden) writes:
- >|> I am having problems with tar files created under Dell SVR4-i2.2 not
- >|> un-tar-ing properly on other systems. More specifically, directories
- >|> in the tar file will *NOT* expand to a directory, but instead get
- >|> created as an executable, zero length file. Some detective work has
- >|> shown that the name field in the SVR4 tar is not suffixed with a "/"
- >|> as in a non-SVR4 tar and mode value also differs. I have also used the
- >|> latest version of GNU's cpio with "-H tar" and get the same results
- >|> as with the SVR4 tar. Foreign tars have always been successfully
- >|> processed by SVR4, but the other direction is a bust.
- >|>
- >|> This seems to be a bug/problem related to issue 2.2 because I do not
- >|> remember having this trouble with issue 2.1 last spring.
- It's a problem not a bug.
- >|>
- >|> It is interesting that GNU cpio and Dell tar tend to agree on format.
- >|>
- >|> Any comments or workarounds would be appreciated.
- >|>
- >|> In the meantime, I'll try cpio which has its own problems with inodes
- >|> greater than 65k---why the inodes are recorded is a mystery.
- >|>
- >|> Thanks.
- GNU cpio support's also SVR4 cpio (New MagicNumber) and SVR4 tar.
- ^^^^^^^^^ ^^^^^^^^
- >If I recall correctly, I ran into a similar problem with cpio, and from the
- >looks of things, you could well have the same source code in tar and cpio.
- >Again, as I recall, the old programs used the trailing '/' in the file name
- >to denote a directory, but some standard (POSIX?) calls for an explicit mode
- >bit to be set instead to indicate a directory. As far as I know, the standard
- >did not forbid the use of the trailing '/', so I don't know why the V.4 version
- >doesn't generate it.
- >In other words, pre-V.4 code generated and expected a trailing '/' to mean
- >that the file is a directory; V.4 generated and expected a mode bit in the
- >file header.
-
-
- >--
- >Topher Eliot Data General DG/UX Systems Administration Development
- >(919) 248-6371 eliot@dg-rtp.dg.com
- >Obviously, I speak for myself, not for DG.
- >misc.consumers.house archivist. Send mail to house-archive@dg-rtp.dg.com
- >"I can understand Teenage Mutant Ninja Turtles, but I can't understand mutually
- >recursive inline functions." --anon.
- --
- Jan Wortelboer, University of Amsterdam
- Computer Science Department Email: janw@fwi.uva.nl
- Unix Kruislaan 403 Kamer F003 Phone: +31 20 525 7501
- systems manager 1098 SJ AMSTERDAM Fax : +31 20 525 7490
-