View Single Post
Posts: 121 | Thanked: 54 times | Joined on Oct 2007 @ New York, US
#6
Originally Posted by j.s View Post
du adds up all the file sizes. It does not count the unused space in the last cluster of a file. If you have a lot of small files, this wasted space adds up. The VFAT Mydocs is even worse for small files.
AFAIK it's actually the other way around: du shows how much of the disk is used, not how much a file size is. Thus the use of du is correct in trying to figure out how much disk space a directory occupies.