df cmd calculates wrong percent usage (FC6)

joachim.backes at rhrk.uni-kl.de joachim.backes at rhrk.uni-kl.de
Sat Jan 13 10:12:13 UTC 2007


wondering about the df cmd output:

df -k

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb1             10078820   4932492   4634344  52% /
/dev/hdb3             14418352   1552904  12133036  12% /disk2
/dev/sda1            110871076   6906248  98332844   7% /usbdisk
/dev/sda2             30233928  12583336  16114780  44% /SYSTEM_BACKUP

In the first filesystem line e.g., there is a usage of 4932492 blocks 
against 10078820 number of blocks in the filesystem, this are rounded 
49% and not 52%. It seems that the "use%" is taken from another data 
source than from "Used/1K-blocks".

How should i interprete this? Feature or bug?


Joachim Backes <joachim.backes at rhrk.uni-kl.de>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
Phone: +49-631-205-2438, FAX: +49-631-205-3056
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5184 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070113/c80aff80/attachment-0001.bin>

More information about the fedora-list mailing list