Re: please fix the output of du -h

2010-02-11 Thread Philip Rowlands

On Thu, 11 Feb 2010, dh-b...@online.de 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




please fix the output of du -h

2010-02-11 Thread dh-bugs
hello

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.

regards, 
Dennis Heuer