Update: links, reads, flash enc
This commit is contained in:
parent
ceec2d1aae
commit
9916659c35
4 changed files with 28 additions and 4 deletions
|
|
@ -88,6 +88,10 @@ The problem is that flash memories are slow and become damaged after a limited n
|
|||
|
||||
#### A dedicated filesystem
|
||||
|
||||
> La peste soit du FAT !
|
||||
>
|
||||
>_Dom Juan_, Molière
|
||||
|
||||
Now that we've highlighted an important property of flash memories, it appears FAT32 may not be the best choice as a filesystem. Indeed, a modified block would stay at the same physical address, causing different regions of the storage to wear more rapidly than others. It would be better to spread the write operations across the entire space, in order to maximize the time before a failure happens.
|
||||
|
||||
[LittleFS](https://github.com/littlefs-project/littlefs) is made exactly for this purpose. Moreover, it provides atomic operations, meaning it never leaves the filesystem in an incoherent state if there is a power loss or a storage failure during a write operation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue