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.