mbed-os/features/storage/filesystem
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
..
fat Minor Doxygen fixes for all file system classes 2019-01-10 15:09:52 +02:00
littlefs Extended mount to check all metadata-pairs 2019-01-17 11:02:29 -06: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 Added filesystem implementations of truncate 2018-12-14 19:29:29 +02:00
File.h Added filesystem implementations of truncate 2018-12-14 19:29:29 +02:00
FileSystem.cpp Added filesystem implementations of truncate 2018-12-14 19:29:29 +02:00
FileSystem.h Minor Doxygen fixes for all file system classes 2019-01-10 15:09:52 +02: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