🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1490

Re: bug in tar, anyone fixed it?

#1490
From: Mark Adler
Date: Tue, 13 Oct 1992 21:41
23 lines
1557 bytes
>> However, the one that comes on the NeXT in /usr/bin/gnutar doesn't
>> really fix the problem exactly.  When it encounters a path that is too
>> long it converts it to something like %%mangled1 and displays this info
>> on the terminal window.  You have to make a note of it in order to
>> recover the file to the right place.

No, you don't have to make a note of anything.  That information also
goes into a special file at the end of the tar file, and that information
is used automatically by gnutar to rename all the mangled names to their
correct, > 100 character names.

>> Somebody says this is an older
>> version of gnutar so a newer version might do the right thing. 

The gnutar in 3.0 is an older version, and it is true that the newer
versions work better, since they store that name closer to the file
instead of at the end of the tar file, which facilitates extracting
individual files.  But for entire archive creation and extraction, the
gnutar in 3.0 works for long names.

Mark Adler
madler@cco.caltech.edu
Technical Details
Message-ID: <1bffqrINN4rp@gap.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!madler
References: <ti6ls.718300894@tuhhco> <1992Oct6.084806.10760@urz.unibas.ch> <1992Oct12.171738.6190@investor.pgh.pa.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!madler
From: madler@cco.caltech.edu (Mark Adler)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: bug in tar, anyone fixed it?
Date: 13 Oct 1992 21:41:47 GMT
Organization: California Institute of Technology, Pasadena
Lines: 23
Message-ID: <1bffqrINN4rp@gap.caltech.edu>
References: <ti6ls.718300894@tuhhco> <1992Oct6.084806.10760@urz.unibas.ch> <1992Oct12.171738.6190@investor.pgh.pa.us>
NNTP-Posting-Host: sandman.caltech.edu