Subject: Re: du & df
To: Jukka Marin , Adam Majewski <am@albedo.art.pl>
From: Lars Heidieker <lars@heidieker.de>
List: current-users
Date: 11/12/2001 11:00:42
At 12:56 PM 11/12/2001 +0200, Jukka Marin wrote:
>On Mon, Nov 12, 2001 at 11:53:19AM +0100, Adam Majewski wrote:
> >  du says that in use is 3168104 k
> >  df says that in use is 3870832 k
> >
> >  difference is about 700 MB, anybody know why?
>
>You have a file which you have deleted, but which is still kept open
>by some process, so it can't be removed from the disk.  du can't see
>this file (it has no directory entry), but df still accounts the space
>used by the file.
>
>Just a wild guess, though.. ;)
>
>   -jm
Wouln't that be the other way around df showing less in use then du.
I think a bunch of sparse files will cause this.

Lars