bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] --sparse is broken on filesystems where small files may ha


From: Paul Eggert
Subject: Re: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks
Date: Tue, 29 Oct 2013 09:40:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/29/2013 08:06 AM, Tim Kientzle wrote:
> $ truncate -s 10G file && echo hello >> file
>
> Are there filesystems where the 6 bytes here would be
> stored in the inode?

Not that we know of, so the current code should be OK.
Possibly such a file system could be constructed in the future,
and if so, we'll need to revisit the code.  By then, though, I
hope that tar uses (and OSes support) SEEK_HOLE and SEEK_DATA
which would make the current heuristic obsolete anyway.



reply via email to

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