File Systems - SAFE-FAT

SAFE-FAT is a journaling system. It guarantees that all operations will be carried out in a failsafe manner. If the system resets unexpectedly for any reason, it returns in a coherent, consistent and usable state. Therefore, when data in a file are modified (using seek or append for instance), the original file is not modified until either a file flush or file close is called. At this point the file state is switched atomically and the new data become valid. This applies equally to all operations that modify the content of the file, such as file write, file delete, create/delete directory, rename, etc.

If a storage medium uses SAFE-FAT and it is reset or is moved to another device running SAFE-FAT, then the system works cleanly, without loss of data and without corruption of the files and associated meta-data.