bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Detection of sparse files is broken on btrfs


From: Paul Eggert
Subject: Re: [Bug-tar] Detection of sparse files is broken on btrfs
Date: Thu, 18 Jan 2018 12:37:47 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 01/18/2018 02:33 AM, Joerg Schilling wrote:
Returning a value for st_blocks, that changes with the phases of the moon while
the content of that file is not changed is another unexpected behavior.

Not at all. It's completely expected nowadays, for the same reason that invoking statvfs twice on the same file might return different results, even if no application has made any change to any file. Nothing in POSIX says or implies that an implementation cannot spontaneously change the amount of available space in a file system, or that it cannot spontaneously change the amount of space that a file is using.




reply via email to

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