[Debian GNUstep maintainers] Bug#315271: Inspector computes wrong folder sizes
Anton Zinoviev
Anton Zinoviev <anton@lml.bas.bg>, 315271@bugs.debian.org
Thu, 30 Jun 2005 14:20:12 +0300
On Wed, Jun 29, 2005 at 01:41:38PM +0300, Enrico Sersale wrote:
>
> >When I use the Inspector to compute the size of a folder the computed
> >size is almost always not correct. Most often it is close to the right
> >size but once it has happened to me that a 5 Mb folder was shown as a 4 Gb
> >one.
>
> 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.
Hmm, I tried this with one directory and here are the results:
du -hs - 912M
du --si -s - 957M
mc - 1119M
GWorkspace - 1.09G (which is the same as mc provided 1G=1024M)
Anton Zinoviev