bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] incompatible checksums with solaris tar, or filenamebuffer too


From: David Obermann
Subject: [Bug-tar] incompatible checksums with solaris tar, or filenamebuffer too small?
Date: Tue, 5 Dec 2006 11:07:02 +0100
User-agent: KMail/1.8

Hi,

I dont know if this is already a fixed bug, nor if it is a bug of solaris tar 
or gnu tar. 
I have Sparc Solaris 5.9 coming with its own tar and installed gnu tar version 
1.14 for sparc sol 9 (sunfreeware.com)

I created a directory: 

abcdefghijklmnopqrstuvwxyza/abc/abcdefghijklmnopqrstuvw

and a simple text file within it:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbb.txt

I called gnu tar to create the tar file
/usr/local/bin/tar -cf abcdefghijklmnopqrstuvwxyza.tar 
abcdefghijklmnopqrstuvwxyza

and then I called (suns tar for unpacking or listing) 
/usr/bin/tar -tf abcdefghijklmnopqrstuvwxyza.tar

and get the following:
abcdefghijklmnopqrstuvwxyza/
abcdefghijklmnopqrstuvwxyza/abc/
abcdefghijklmnopqrstuvwxyza/abc/abcdefghijklmnopqrstuvw/
././@LongLink
abcdefghijklmnopqrstuvwxyza/abc/abcdefghijklmnopqrstuvw/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

If I call (suns tar)
/usr/bin/tar -xf abcdefghijklmnopqrstuvwxyza.tar

I get the error:
tar: directory checksum error

Unpacking with the gnu tar works. 

But if I create the tar file with suns tar, then unpacking works with the gnu 
tar AND with suns tar.

Best Regards,

David

Attachment: pgpjogiddUnUf.pgp
Description: PGP signature


reply via email to

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