On Friday 11 February 2005 17:05, Botykai Zsolt wrote:
(B>
(B> Frank was right I compared the df's output after two minutes.
(B> And xfmedia is one media player but at that point it was paused (with some
(B> mp3 files).
(B> And if it was about temporary files, why they hadn't showed up with 'du'?
(B
(BIf an application holds a file open, it is not deleted from the disk even if 
(Bthe directory entry has been removed. Have a look at the following:
(B
(B$ df | grep hda ; dd if=/dev/zero of=foobar count=500000 & rm foobar ; ls 
(Bfoobar; for x in $(seq 1 10); do df | grep hda; sleep 1; done
(B/dev/hda1             19043697  17433093   1610604  92% /
(B[1] 9666
(Bls: foobar: No such file or directory
(B/dev/hda1             19043697  17445180   1598517  92% /
(B/dev/hda1             19043697  17559840   1483857  93% /
(B/dev/hda1             19043697  17617281   1426416  93% /
(B/dev/hda1             19043697  17629618   1414079  93% /
(B/dev/hda1             19043697  17651739   1391958  93% /
(B/dev/hda1             19043697  17667173   1376524  93% /
(B/dev/hda1             19043697  17681578   1362119  93% /
(B500000+0 records in
(B500000+0 records out
(B[1]+  Done                    ( dd if=/dev/zero of=foobar count=500000 )
(B/dev/hda1             19043697  17433109   1610588  92% /
(B/dev/hda1             19043697  17433109   1610588  92% /
(B/dev/hda1             19043697  17433109   1610588  92% /
(B
(BYou can see that the foobar's directory entry has been removed, but the disk 
(Bspace usage continually increases until the file is closed.
(B
(BRegards,
(BJason Stubbs
(B
(B--
([email protected] mailing list

Reply via email to