> > i think your / has mounts and binds that are confusing du.  you
> > need to remount your root file system someplace free of mounts
> > or binds on top, e.g.:
> > 
> >     ; mount /srv/boot /n/boot; cd /n/boot
> >     ; du -s .>[2=]
> >     4049232 .
> >     ; du -sh .>[2=]
> >     3.861649G       .
> >     ; hoc
> >     4049232 / 1024 / 1024
> >     3.86164855957
> 
> Do you spot only the 347.8285G? or altogether the /dist/plan9.iso that
> was not seen? Because, for the gigabytes, it is just a format error,
> since without the option it reports correctly 350Mb. Since your test is
> with gigabytes, the G suffix is correct. But it may be simply (I didn't
> look at the source) that for Megabytes, it prints a G suffix too...

please try what i suggested.  i've shown that du -h works properly
on my system.

- erik

Reply via email to