I am playing with a memory card with the vfat-filesystem on top of it.
It seems to work
fine, but how can I ensure that the data is written immediately? I wrote
wich does a flush(fp) before closing the fp. That works fine. But if I
do a touch blabla
to create an empty file in the mounted directory, the data is written
when I umount
the memory card. That is not what I want, cause the data will be lost if
fails between umount and writing the empty file. And worse if it flushed
only half of
the data the cards data may get corrupted.
Has anyone a good (and simple) idea?
This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:39 EST