bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Tar short read


From: Paul Eggert
Subject: Re: [Bug-tar] Tar short read
Date: Tue, 27 Sep 2011 12:53:46 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14

On 09/27/11 12:18, Kevin Fox wrote:
> No, what could happen is a user could stop tar mid stream, then continue
> it, and a read might show up partial and tar would freak out.

In practice real systems don't do partial reads after a start/continue,
when you're reading such small buffers from regular files.

As far as tar goes, it's low priority to fix this, as the problem
occurs only in file systems that are so incompatible with common
behavior that they will break lots of applications.  (This is true
regardless of whether POSIX allows this file-system behavior.)

It wouldn't hurt to change tar, I suppose, so long as the change
doesn't overly hurt performance or clarity, but this is really more
of a case where it's better to fix the file system than to fix the
many applications that the file-system behavior would break.



reply via email to

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