On 09/27/2010 11:25 AM, Henry Vermaak wrote:

Why do you think all data will be lost with a journalling file system?
This has already been discussed at any length in several embedded Linux forums.

A flash card does an internal wear management by moving data around when pages become due to end of life. For thus purpose it has a bunch of spare pages. Of course the pages that contain dynamic file management structures (FAT, directories, ...) are especially due to wear out and need to be replaced often. Of course there also are pages that just internally manage the use of the data pages. same are due to wear out, too.

Now if the card detects a dying page (by seeing that the time needed to erase it gets long) it copies and replaces it. this results in updates to management pages that might be close to dying, as well.

The manufactures don't guarantee how long this process might take and how much electrical energy it might take.

All this is completely independent of the file system used, as it concerns a lower level than handled by the file system.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to