Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By standard, 'du' defaults to 512 byte units, but this differs between implementations: GNU du defaults to 1024 unless POSIXLY_CORRECT is set and also allows overriding via number of environment variables. It also supports various other ways of controlling the block size, but the only standard means to control the size is -k, and we really don't want to break portability for the sake of FYI statistics. Inspired by Marxim Liska's patch at in #554.
- Loading branch information