mbed-os/features/storage
Christopher Haster 9d6e309432 Extended mount to check all metadata-pairs
The most common issue with using littlefs in mbed-os is when users
change from littlefs->FAT->littlefs (or with MBR or similar). When this
corrupts the superblock, littlefs tries to fall back to the backup
superblock. However, at this point in the time the old superblock may be
very out-of-date and pointing to an incorrect filesystem.

There's no complete solution to a malicious modification of the
filesystem (short of checking all metadata+data, a very expensive
operation), but we can at least expand our validation to all of the
metadata for the filesystem. This at least catches the common issues
with changing between different filesystems.
2019-01-17 11:02:29 -06:00
..
FEATURE_STORAGE Remove uVisor from mbed-os 2018-08-22 16:36:59 +03:00
TESTS MBRBlockDevice: When partitioning, clear the rest of first erase unit 2019-01-15 16:43:03 +02:00
blockdevice MBRBlockDevice: When partitioning, clear the rest of first erase unit 2019-01-15 16:43:03 +02:00
filesystem Extended mount to check all metadata-pairs 2019-01-17 11:02:29 -06:00
kvstore Merge pull request #9361 from yossi2le/yossi_fix_for_tfm 2019-01-16 22:06:07 -06:00
nvstore removing output parameter from avoid_conflict_nvstore_tdbstore function. 2018-12-23 14:27:56 +02:00
system_storage removing output parameter from avoid_conflict_nvstore_tdbstore function. 2018-12-23 14:27:56 +02:00