[En-Nut-Discussion] How to get free memory space on SD Memory card
Eric Haver
havereric1 at gmail.com
Wed Apr 30 22:39:58 CEST 2008
Hi Helmut,
I am using Nut 4.4.0
>From here it looks like:
*/*!
* \brief Counts the number of free clusters in a volume.
*
* \param dev Specifies the file system device.
*
* \return The number of free clusters.
*/
static u_long PhatCountFreeClusters(NUTDEVICE * dev)
*
will answer your question.
Find it in nut\fs\phatvol.c
Gruß,
*Eric
On Wed, Apr 30, 2008 at 10:16 AM, Helmut Holbach <
hh at umweltanalytik-holbach.de> wrote:
> Hello everybody,
>
> we implemented Ethernut 1.3H with SD-Memory card (256MB)(managed by
> Ethernut PHATFS) in our measuring devices. The measured data can be stored
> on the SD-Card. The web-pages of the internal web server are stored on the
> SD-Card too. Now, the operator wants to see how many memory space is
> available to store measured data.
> I did not found how to get the free memory space on the SD memory card.
> The SD memory card is installed in the unit, it is not available to put it
> temporary in an external memory card reader.
>
> Thanks in advance for your help
>
> Helmut
>
>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list