bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Re: Verifying a tar File.


From: Joerg Schilling
Subject: Re: [Bug-tar] Re: Verifying a tar File.
Date: Sat, 20 Aug 2005 20:18:16 +0200
User-agent: nail 11.2 8/15/04

Ralph Corderoy <address@hidden> wrote:

> I've just found
> http://lists.gnu.org/archive/html/bug-tar/2004-12/msg00014.html where
> Sergey explains 1.14.91 fixes a bug `in the algorithm of recognizing
> sparse archive members'.  Is it an error that only affects tar file
> reading and so the tar file was created OK?  Is the error message a
> spurious one that doesn't affect extraction of the sparse file or any
> other one?

There is also a general non TAR compliance with sparse files inside GNU tar
archives.

I reported this missconception in 1994 (together with a decription on
how a backwards compatible correction could be made) but no no avail until
now...

---->
The size of sparse files in GNU tar is the size of the compressed file plus the
size of the sparse hole list, but GNU tar only uses the size of the 
compressed file for the tar header.

For this reason no tar implementation can read GNU tar archives unlass it is 
aware of the missconception.

If GNU tar would use the right size in the archive header, then there was no
need to correclty detect sparse files in order to list them.

Jörg

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




reply via email to

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