AnsweredAssumed Answered

How to get total size of an SD card with MFS?

Question asked by dmitriyc on Feb 5, 2016
Latest reply on Feb 8, 2016 by dmitriyc

Hello,

 

I am using MQX with an SD card to log data. I need to be able to indicate to the user the size of the SD card inserted and the amount of space used.

 

I know there are IOCTL commands for getting the amount of free space, but I do not see anything in the documentation about getting the total space on the disk or the amount of space used (short of iterating through every file on the drive and taking the sum of the sizes).

Outcomes