[nzlug] Woes with du

Anthony Chapman ajchapman at gmail.com
Sat Sep 16 17:53:42 NZST 2006


On 16/09/06, Johnathan <johnathan at orcon.net.nz> wrote:
> I'm looking for an alternative to du because of the fact that it
> overestimates file sizes.
It is telling you the size that the file takes on disk. Most
filesystems allocate space in blocks, and in this case the block size
is 4kiB. Try using "du -shb" to get the actual size.




More information about the NZLUG mailing list