[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] incompatible checksums with solaris tar, or filenamebuffer
Re: [Bug-tar] incompatible checksums with solaris tar, or filenamebuffer too small?
Wed, 6 Dec 2006 11:42:34 +0100
Am Dienstag 05 Dezember 2006 22:16 schrieb Paul Eggert:
> David Obermann <address@hidden> writes:
> > I have Sparc Solaris 5.9 coming with its own tar and installed gnu
> > tar version 1.14 for sparc sol 9 (sunfreeware.com)
> Hmm, why did you use the sunfreeware.com version? Solaris 9 contains
> GNU tar 1.14 as /usr/sfw/bin/tar, as part of the SUNWgtar package.
Seems, that this is not installed.
But suns tar creates packages, that can be handled by gtar. So I can use suns
tar and other users, which use gtar, can handle it as well.
That is what I need.
> > /usr/bin/tar -tf abcdefghijklmnopqrstuvwxyza.tar
> > ...
> > ././@LongLink
> This suggests that GNU tar created a type-L record, which Solaris 9 'tar'
> cannot extract.
> > /usr/bin/tar -xf abcdefghijklmnopqrstuvwxyza.tar
> > ...
> > tar: directory checksum error
> Solaris 10 'tar' does a better job with that archive. But to avoid
> this sort of problem on Solaris 9, you can use the --format=ustar
> option when invoking GNU tar, e.g.,
> /usr/sfw/bin/tar --format=ustar -cf foo.tar abcdefghijklmnopqrstuvwxyza
> Or you can use --format=v7 if you also want support for _really_ old
> tar programs, though this will limit you in file length. Conversely
> you can use --format=posix if you want to export only to newer
> tar-like programs that support POSIX format (this has more bells and