bug#34110: feature request: dual-column du output, showing "real" and "on-disk" sizes (and about that "apparent-size" concept)

2019-01-16 Thread Paul Eggert
I like the idea of two columns at once. with "--apparent-size", du returns the actual file size; without, it returns how large the file appears to be (judging from its disk footprint). The "apparent" size is the size that "ls -l" outputs, and is the size that traditional I/O operations like

bug#34110: feature request: dual-column du output, showing "real" and "on-disk" sizes (and about that "apparent-size" concept)

2019-01-16 Thread Assaf Gordon
Hello, I'll address only the "apparent-size" issue (not the two-columns, or compressed file-systems): On 2019-01-16 1:13 p.m., René J.V. Bertin wrote: According to `du --help`, the apparent-size option reports a size that is not the actual disk usage. The numbers above seem to show the oppo

bug#34110: feature request: dual-column du output, showing "real" and "on-disk" sizes (and about that "apparent-size" concept)

2019-01-16 Thread René J . V . Bertin
Hi, I hope feature requests are acceptable here. Now that more and more filesystems have support for compression it becomes more interesting the comparre actual file/directory (content) size and the corresponding on-disk size. Currently you have to call du twice to do that, which quickly becom