mbed-os/features/storage/filesystem
Christopher Haster 7059d44c57 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-25 14:29:59 +00:00
..
fat Add BlockDevice and Filesystem classes inside mbed namespace. 2018-11-26 13:35:40 -06:00
littlefs Extended mount to check all metadata-pairs 2019-01-25 14:29:59 +00:00
Dir.cpp Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure. 2018-08-29 12:01:11 +03:00
Dir.h storage: fix astyle coding style 2018-11-07 08:56:35 +00:00
File.cpp Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure. 2018-08-29 12:01:11 +03:00
File.h storage: fix astyle coding style 2018-11-07 08:56:35 +00:00
FileSystem.cpp storage: fix astyle coding style 2018-11-07 08:56:35 +00:00
FileSystem.h storage: fix astyle coding style 2018-11-07 08:56:35 +00:00
mbed_filesystem.h Add BlockDevice and Filesystem classes inside mbed namespace. 2018-11-26 13:35:40 -06:00
mbed_lib.json Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure. 2018-08-29 12:01:11 +03:00