[Mageia-dev] df lying?

Liam R E Quin liam at holoweb.net
Mon Jan 7 19:04:18 CET 2013


On Mon, 2013-01-07 at 12:54 -0500, Felix Miata wrote:
> On 2013-01-07 15:15 (GMT+0200) Anssi Hannula composed:

> $ df /disks/esata
> Filesystem     1K-blocks      Used Available Use% Mounted on
> /dev/sdb1      969063752 942471244  26592508  98% /disks/esata

> Do total space in df & du output exclude inode blocks?

Yes, and indirect blocks that may be needed, depending on the file
system, and also the size of any filesystem journal. Th du command
doesn't know about such things, and can't in general (e.g. not all file
systems have ways to report it). The df command looks at total available
space, which will be reduced by inode blocks; df -i gives some
information about inode usage.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml



More information about the Mageia-dev mailing list