bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: please fix the output of du -h


From: Philip Rowlands
Subject: Re: please fix the output of du -h
Date: Thu, 11 Feb 2010 13:16:35 +0000 (GMT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Thu, 11 Feb 2010, address@hidden 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

[Prev in Thread] Current Thread [Next in Thread]