FAT Filesystem

Wolfram Wadepohl Wolfram.Wadepohl at ek-automation.com
Wed May 5 11:49:53 UTC 2010

My swissbit CF spec tells me there is a "Flush Cache" ATA command (0xe7) to
write all buffers to flash. Is this implemented?

Cláudio Silva schrieb:
> From: "Leon Pollak" <leonp at plris.com>
> Sent: Wednesday, May 05, 2010 12:20 PM
> To: <rtems-users at rtems.org>
> Cc: <rtems-users at rtems.com>
> Subject: Re: FAT Filesystem
>> On Wednesday May 5 2010, Wolfram Wadepohl wrote:
>>> To all specialists of the FAT filesystem and medis buffering:
>>> A power off at the wrong time can cause the filsystem to a inconsistent
>>> state. Is there a mechanism , like the UNIX sync command, to write 
>>> buffers
>>> to disk and transfer all buffering to a safe state.
>>> How long does this take, esp. when using a CF/SD card.
>>> Thx.
>> To your last question.
>> Please, note, that even when you receive the acknowledge from the CF
>> controller about write operation success completion, actually it does not
>> mean, that the data was actually written into the flash memories. This 
>> only
>> means that controller has accepted data and put it into its internal 
>> memory.
>> You need to keep the power ON for the controller to finish the 
>> operation...:-)
>> -- 
>> Leon

Wolfram Wadepohl
Forschung & Entwicklung

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4755 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.rtems.org/pipermail/users/attachments/20100505/0c95a86f/attachment-0001.bin>

More information about the users mailing list