On Tue, 2010-05-18 at 15:44 +0530, sandeep kodimela wrote:
Hi all,
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.
You should be able to use statvfs or fstatvfs (see man statvfs).
--
Kaj-Michael
Hi all,
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
Cheers
Sandy
___
maemo-developers mailing list
maemo-developers@maemo.org
2010/5/18 sandeep kodimela sandeep.kodim...@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:
If you are using Qt you may get that information also with
QSystemStorageInfo class.
http://doc.qt.nokia.com/qtmobility-1.0/qsystemstorageinfo.html
//Sampo
ext Thomas Perl wrote:
2010/5/18 sandeep kodimela sandeep.kodim...@votarytech.com:
I'm just trying to find out the size of the