[maemo-developers] Getting the siz of the Memory Card

From: Thomas Perl th.perl at gmail.com
Date: Tue May 18 14:45:29 EEST 2010
2010/5/18 sandeep kodimela <sandeep.kodimela at votarytech.com>:
> I'm just trying to find out the size of the memory card,and the amount used and the amount free.Can anyone suggest me with the API for the same.
> Thanks in advance

Check the output of the "df" command. You can also use GIO:

http://library.gnome.org/devel/gio/unstable/GFile.html#g-file-query-filesystem-info

HTH.
Thomas
More information about the maemo-developers mailing list