bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] GNU tar 1.22 creating USTAR not readable by other TAR impl


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] GNU tar 1.22 creating USTAR not readable by other TAR implementations
Date: Sun, 20 Dec 2009 23:35:14 +0200

Sergey Poznyakoff <address@hidden> ha escrit:

> introduce a "bug-to-bug" compatibility.  As far as I can tell, the
> attached patch makes GNU tar behave as its Sun counterpart in regard to
> name splitting.  I'd appreciate it if you could test it with your
> script.

Thanks to generous help from Dr. David Kirkby, I was able to
do that myself.  Running the ustartest script showed exactly
the same behavior of Sun's tar and GNU tar (Git master + last patch)
in regard to name splitting (script output attached).

Regards,
Sergey

##############################################################################

Path is split like 155 + 100 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 155 + 99 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 154 + 100 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 154 + 99 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 100 + 100 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 100 + 99 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 99 + 100 (last part is a file)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 99 (last part is a file)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 100 + 55 + 100 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 100 + 55 + 99 (last part is a file)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 99 + 55 + 100 (last part is a file)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 54 + 100 (last part is a file)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 54 + 50 (last part is a file)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 54 + 50 + 50 (last part is a file)

GNU+patch  : [512] aaa...aaa/bbb...bbb/ccc...ccc/ddd...ddd: file name is too 
long (cannot be split); not dumped 
Solaris    : [256] aaa...aaa/bbb...bbb/ccc...ccc/ddd...ddd: prefix is greater 
than 155 

##############################################################################

Path is split like 99 + 54 + 49 + 50 (last part is a file)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 155 + 100 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 155 + 99 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 154 + 100 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 154 + 99 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 100 + 100 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 100 + 99 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 99 + 100 (last part is a directory)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 99 (last part is a directory)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 100 + 55 + 100 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 100 + 55 + 99 (last part is a directory)

GNU+patch  : [512] aaa...aaa/: file name is too long (cannot be split); not 
dumped 
Solaris    : [256] aaa...aaa: filename is greater than 100 

##############################################################################

Path is split like 99 + 55 + 100 (last part is a directory)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 54 + 100 (last part is a directory)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 54 + 50 (last part is a directory)

GNU+patch  : [  0] 
Solaris    : [  0] 

##############################################################################

Path is split like 99 + 54 + 50 + 50 (last part is a directory)

GNU+patch  : [512] aaa...aaa/bbb...bbb/ccc...ccc/ddd...ddd/: file name is too 
long (cannot be split); not dumped 
Solaris    : [256] aaa...aaa/bbb...bbb/ccc...ccc/ddd...ddd: prefix is greater 
than 155 

##############################################################################

Path is split like 99 + 54 + 49 + 50 (last part is a directory)

GNU+patch  : [  0] 
Solaris    : [  0] 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]