This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Determine free disk space of SD card?
- From: "Davy Wouters" <davy dot wouters at atosengineering dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 7 Oct 2010 08:21:42 +0200
- Subject: [ECOS] Determine free disk space of SD card?
- Reply-to: "Davy Wouters" <davy dot wouters at atosengineering dot com>
Hi all,
I have a system with SD card through SPI and am using the FAT file system on
it.
Is there any way to determine how much space is left on the SD card or what
size it is? (something like statvfs()?)
Tnx,
Regards,
Davy
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss