Re: Getting the siz of the Memory Card

2010-05-19 Thread Kaj-Michael Lang
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

Getting the siz of the Memory Card

2010-05-18 Thread sandeep kodimela
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

Re: Getting the siz of the Memory Card

2010-05-18 Thread Thomas Perl
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:

Re: Getting the siz of the Memory Card

2010-05-18 Thread Sampo Savola
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