> But the surprise is that it was _not_ hidden. It _was_ here under /dist
> ... but apparently not added to the summary made by du(1)? Does du(1)
> "know" that some dir are mount point taking (normally) no real space,
> and skipping them? Because this means one can add whatever files in
> there and fill fossil with du(1) ignoring all...
> 
> On a side note, the print from du(1) is not accurate with the "-h" flag:
> 
> term% du -sh /
> 347.8285G     /
> 
> I have megabytes, not gigabytes.

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

- erik

Reply via email to