On Tue, Mar 10, 2020 at 12:24 PM Kaz Kylheku (Coreutils)
<962-396-1...@kylheku.com> wrote:
> On 2020-03-10 11:52, Jim Meyering wrote:
> > Otherwise, du provides no way of seeing how much of the actual disk
> > space is being used by such FS-compressed files.
>
> If you stat the file, what are the v
On 2020-03-10 11:52, Jim Meyering wrote:
Otherwise, du provides no way of seeing how much of the actual disk
space is being used by such FS-compressed files.
If you stat the file, what are the values of st_size, st_blksize and
st_blocks?
[note: this was not a sparse file and I wasn't using --apparent-size]
On a 1TB local btrfs file system, I found a log file for which du
reported a size of 1.2 petabytes. Quite surprising for a moment, then
I remembered btrfs's "compression".
Should we teach du to report compressed size? Via a new