Compute the real total size of a partition formated in EXT3

Stephane Cerveau <[email protected]> Mon, 7 Feb 2011 15:45:17 +0100
Newsgroups gmane.comp.file-systems.ext3.user
Message-ID <[email protected]>
Dear All,



In order to have a real percentage of freespace for a user interface, I'm trying to compute the size available on a 4GB USB key formatted in Ext3. Indeed after format, when I ask df to give a summary of size, it tells that there is 75MB already used.

I would like to know the meaning of this 75MB ( is it the journal??) and especially how I can compute this when I want, whithout parsing the partition and the size of the file(s).

/dev/sda1            3.7G       71.5MB                3.4G 2% /mnt/internal



Best regards.



Stéphane Cerveau
Software Engineer

[email protected]<mailto:[email protected]>

Phone: +33 4 99 53 27 39


93, Pierre Duhem
34000 Montpellier
FRANCE
Phone: +33 4 67 47 10 00
Fax:      +33 4 67 47 10 15

cid:069332510@17112008-1528

_______________________________________________
Ext3-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ext3-users
image001.jpg (image/jpeg, 16 KB) - not displayed