bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Appending file(s) to tar file may silently fail


From: Joerg Schilling
Subject: Re: [Bug-tar] Appending file(s) to tar file may silently fail
Date: Wed, 12 Nov 2014 18:40:25 +0100
User-agent: nail 11.22 3/20/05

Markus Steinborn <address@hidden> wrote:

> Something is broken here. If I add a fle (let's say "mkdvdiso.sh") to
> the archive (only once), checking the result with "tar -tvf
> defective.tar" reveals that
>
> -rw------- postgres/postgres   8192 2014-11-12 15:57 global/pg_control
>
> is missing in the tar file (compared to the original tar file). star
> confirms this diagnostic. So GNU tar's append clearly removes a file,
> which is obviously another bug.

This append feature did never work decently in gtar. Gtar did e.g. ignore the 
tar archive format of the first part of the archive and appended data in the 
current setup regardless of what the previous archive format was.

BTW: given the fact that 

   8192 -rw-------  postgres/postgres Nov 12 15:57 2014 global/pg_control

is a file with 8192 bytes of data, it seems to be a bigger problem when this 
file disappears. Note that I can understand that there might be a +-1 offset 
error, but then the structural integrity of the new archive would be lost and 
the following file could not be seen.

Jörg

-- 
 EMail:address@hidden                    (home) Jörg Schilling D-13353 Berlin
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'



reply via email to

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