View Single Post
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#7
Originally Posted by dnastase View Post
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.
Then why does du take longer to run, and why is df almost instantaneous? I was not making things up with my answer.