dlbeer/ufat

How to get statistics of the whole file system?

Closed this issue · 1 comments

I'm wondering whether there is a way to obtain file system statistics, most notably the size of the file system and amount of free space (or amount of used space, doesn't matter)? Something analogous to http://man7.org/linux/man-pages/man3/statvfs.3.html in POSIX and http://elm-chan.org/fsw/ff/doc/getfree.html from FatFs?

Maybe that's the info available in ufat_bpb as fat_size and fat_count?

Thanks in advance!