-   Linux - Software (
-   -   free disk space (

mp4-10 04-06-2005 03:50 AM

free disk space
I would like to write c code which returns number of bites on my hard disk free space.
There statfs structure is used but in that structure only number of free blocks and nodes could be found.
Is it possible to get free space in Bites from this two data(blocks and nodes) and how?


bathory 04-06-2005 04:32 AM

Take a look at "df" command :

man df

All times are GMT -5. The time now is 10:54 AM.