On Thu, 11 Feb 2010, [email protected] wrote:

using -h with du on a directory tree can produce results several
gigabytes *below* the actual value. this is quite annoying (and just
plain wrong), especially when trying to burn a cd/dvd.

"du -h" doesn't do what you expect. Quoting the manual:

`-h'
`--human-readable'
     Append a size letter to each size, such as `M' for mebibytes.
     Powers of 1024 are used, not 1000; `M' stands for 1,048,576 bytes.
     This option is equivalent to `--block-size=human-readable'.  Use
     the `--si' option if you prefer powers of 1000.


Cheers,
Phil


Reply via email to