fsync() for FAT file system

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Fri May 4 15:08:27 UTC 2012


Sebastian,

Am 04.05.2012 16:57, schrieb Sebastian Huber:
> On 05/04/2012 04:51 PM, Thomas Doerfler wrote:
>> Sebastian,
>>
>> if I get this code right, it actually parses each buffer of the _volume_
>> and ensures it is synced, so this is FAR from optimal ;-)
> 
> If I understand the fat_get_fat_cluster() correctly it follows the chain
> of clusters of the file (initial value is fat_fd->cln).

you are rght, I should have had a closer look at the loop.

nice weekend,

Thomas.


-- 
--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9



More information about the devel mailing list