-= Eredeti üzenet (Original message) =- Dátum (Date): Fri, 11 Feb 2005 19:16:11 +0900 Küldő (From): Jason Stubbs <[EMAIL PROTECTED]> Címzett (To): [EMAIL PROTECTED] Tárgy (Subject): Re: [gentoo-user] is this normal? (free disk space question)
> On Friday 11 February 2005 17:05, Botykai Zsolt wrote: > > Frank was right I compared the df's output after two minutes. > > And xfmedia is one media player but at that point it was paused (with some > > mp3 files). > > And if it was about temporary files, why they hadn't showed up with 'du'? > If an application holds a file open, it is not deleted from the disk even if > the directory entry has been removed. Have a look at the following: > $ df | grep hda ; dd if=/dev/zero of=foobar count=500000 & rm foobar ; ls > foobar; for x in $(seq 1 10); do df | grep hda; sleep 1; done > /dev/hda1 19043697 17433093 1610604 92% / > [1] 9666 > ls: foobar: No such file or directory > /dev/hda1 19043697 17445180 1598517 92% / > /dev/hda1 19043697 17559840 1483857 93% / > /dev/hda1 19043697 17617281 1426416 93% / > /dev/hda1 19043697 17629618 1414079 93% / > /dev/hda1 19043697 17651739 1391958 93% / > /dev/hda1 19043697 17667173 1376524 93% / > /dev/hda1 19043697 17681578 1362119 93% / > 500000+0 records in > 500000+0 records out > [1]+ Done ( dd if=/dev/zero of=foobar count=500000 ) > /dev/hda1 19043697 17433109 1610588 92% / > /dev/hda1 19043697 17433109 1610588 92% / > /dev/hda1 19043697 17433109 1610588 92% / > > You can see that the foobar's directory entry has been removed, but the disk > space usage continually increases until the file is closed. -= Eredeti üzenet vége (End of original message) =- thanx jason, I understand the reasons for now. Zsoltik@ -------------------------------------------------------------------------- Opinions, conclusions and other information in this message that do not relate to the official business of Online Business Technologies Corp. shall be understood as neither given nor endorsed by it. In such cases Online Business Technologies Corp. will not bear the responsibility of consequences. If you have received this communication in error, please notify the system manager immediately by responding to this email and then delete it from your system. A levelben foglalt, nem az Online Rt. hivatalos uzletmenetevel kapcsolatos velemenyek vagy mas informaciok vonatkozasaban az Online Rt. nem vallal felelosseget. Amennyiben a level valamely hiba folytan jutott Onhoz, kerjuk, hogy valaszlevelben azonnal ertesitse a rendszer uzemeltetojet, majd torolje ki a levelet rendszerebol!
-- [email protected] mailing list
