Disc Free (df) weirdness (FC2)

Mike McCarty mike.mccarty at sbcglobal.net
Fri Oct 7 03:32:38 UTC 2005


Craig White wrote:
> On Thu, 2005-10-06 at 22:12 -0500, Mike McCarty wrote:
> 
>>Craig White wrote:
>>
>>>On Thu, 2005-10-06 at 20:10 -0500, Mike McCarty wrote:
>>>
>>>

[snip]

>>>>$ df
>>>>Filesystem           1K-blocks      Used Available Use% Mounted on
>>>>/dev/hda5              7633264   6081748   1163768  84% /
>>>>/dev/hda3                99075     24602     69358  27% /boot
>>>>none                    124044         0    124044   0% /dev/shm
>>>>
>>>>At 93%, it must have been about 7098935 blocks used. How did a
>>>>reboot free up 1017187 blocks?

[snip]

>>Sizes two days ago:
>>
>>3629612 /usr
>>1543788 /home
>>456448  /lib
>>383804  /var
>>256283  /proc
>>61600   /etc
>>48528   /tmp
>>20488   /boot
>>11884   /sbin
>>5040    /bin
>>(don't have less than this saved)
>>
>>
>>Sizes today
>>
>>3629612 /usr
>>1501496 /home
>>456448  /lib
>>382648  /var
>>61600   /etc
>>11884   /sbin
>>5040    /bin
>>1456    /root
>>572     /dev
>>136     /tmp
>>4       /selinux
>>4       /opt
>>4       /misc
>>0       /sys
> 
> ----
> reboot cleaned out /tmp

Of 48M. Which is not 9% of a 7G disc. The disc size reported
by du shrank by 1017187 blocks, not 48389. So /tmp only accounts
for 4.8% of the discrepancy.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list