Henrik Grubbström <[EMAIL PROTECTED]> wrote:

> On Thu, 28 Sep 2006, Henrik Grubbström wrote:
>
> > Hi.
> >
> > I need to create tar archives with deep paths on a Linux machine that 
> > Solaris 
> > 10's system tar (ie /bin/tar) can extract. If I read the manuals correctly, 
> > this should be achievable by using the USTAR format.
> [...]
> > So the main difference seems to be that the file name is missing in the 
> > record for the first long path in the gnutar case.
> >
> > Any suggestions for a patch?
>
> Suggested patch against 1.15.91 attached.

Could you tell more about the constraints?

While GNU tar by default still ctreates non-standard archives that 
cause problems with tar archivers that don't understand the vendor unique
format used by GNU tar, my tests show since a year that GNU tar may handle long 
path names correctly if you do the right things:

Either use DEFAULT_ARCHIVE_FORMAT=USTAR when calling configure

or call gtar -Hustar

What path names did you use to cause the problems?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to