![]() ![]() :-( (And, of course, replacing the main file system is not a "quick patch.") The window is narrow, so I hadn't noticed it during development we had shipped products and got field failures. This severely pissed me off, because the essence of wear-leveling is out-of-place writes, and I just assumed that any CF manufacturer with an ounce of brains would implement a two-phase commit, ao each sector write would be atomic: after a power cycle, either you'd see the new contents, or the old contents, but never anything else. ![]() Thus, any classical fixed-location file system (inode or FAT style) is NOT suitable for embedded appliance use on compactFlash cards. (Tested on SanDisk and Lexar brand cards that was enough to convince me that I needed a file system that could cope.) It can be recovered by rewriting it, but the sector is unreadable. I can testify from personal experience doing the same thing that if you power down a CF card while it is writing, you will get a bad sector.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |