[Debian GNUstep maintainers] Re: Bug#315271: Inspector computes wrong folder sizes

Hubert Chan hubert@uhoreg.ca
Wed, 29 Jun 2005 11:52:10 -0400


On Wed, 29 Jun 2005 13:41:38 +0300, Enrico Sersale <enrico-QDc2EgABN8ReoWH0uzbU5w@public.gmane.org> said:

> I've reviewed the code but it seems correct.  The strange think is
> that using "mc" to compute the size gives the same results but "du
> -shc" gives bigger sizes.

du calculates sizes in terms of disk blocks.  Try adding the "-b"
option, which makes du count bytes.

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.