On Mon, Mar 20, 2017 at 23:19:02, phani karthik cs wrote:
Allocation unit size = 1024
This is 1024 bytes right?
Free space in f_frsize units = 1795
So free space would be (1795*1024)bytes. Am I correct here?
That is correct.
On 21 Mar 2017 06:22, "Thomas, Ramesh" <ramesh.thomas@... <mailto:ramesh.thomas@...> > wrote:
On Sun, Mar 19, 2017 at 22:22:05, phani karthik cs wrote: > Hello all, > Iam having trouble interpreting the fs_statvfs function. How to > interpret the below results that i ran on arduino 101 > ------------------------------------------------- > Optimal transfer block size = 512
This is the sector size. Data transfer size of the physical storage media.
> Allocation unit size = 1024
Minimum size of storage the file system will allocate when writing new data. Will be multiples of block size.
> Volume size in f_frsize units = 2028 > Free space in f_frsize units = 1795
f_frsize is allocation unit size
> ------------------------------------------------ given the above > output, how much free memory do I have in bytes??? > > Thank You > Phani Karthik C S