Friday, August 19, 2011

How du and df is diffrent ?

df and du measure two different things....

du reports the space used by files and folders--even this is more than the file size. A few quick experiments on my system show that 4K is a minimum file size in terms of disk space.

df reports the space used by the file system. This includes the overhead for journals and inode tables and such.