On Sunday 17 August 2008 01:18:21 Paul Colquhoun wrote: > Actually, there is one more way to hide a file from du > > If there is a file in the /var directory *BEFORE* the /var partition is > mounted onto the directory, then du won't find it, but df will know > about the space it is using. > > You will probably need to boot from a live CD of some sort to be able to > umount the partitions and check the underlying directory, but it might > be worth it there is still space unaccounted for after a reboot.
There's a much easier way. As root: mount -o bind / /path/to/some/arb/dir see man mount -- alan dot mckinnon at gmail dot com