Mail Archives: djgpp/2000/07/12/12:19:01
On Wed, 12 Jul 2000, Hans-Bernhard Broeker wrote:
> > It's a simple change, and is a useful feature to have. `du' expects the
> > library to return the block size, and if it does not, falls back to some
> > simple-minded default.
>
> What library? What 'block size' does it read from it?
See the definition of the macro ST_NBLOCKS on src/system.h in the
Fileutils distribution.
> According to the fileutils 4.0 docs I consulted, du only uses block size
> for displaying, not for measuring the file length.
IANL, but the code disagrees, or so it seems: the size of each file is
run through ST_NBLOCKS.
- Raw text -