Analysis

Quadros Systems Announces its Embedded FAT File System

30th October 2008
ES Admin
0
Quadros Systems has announced a new extension to its family of embedded file systems designed to preserve the data and overall integrity of the FAT file system in case of power loss or unexpected reset of the system. RTXCfatfile-safe ensures that all operations will be carried out in a failsafe manner.
In the embedded industry FAT file systems are commonly used on removable memory that needs to be read by/written to by a PC. However typical FAT (File Allocation Table) file system implementations have a inherent weaknesses which can lead to file and directory corruption if the system is interrupted during a write routine. When you open a file to modify it, the normal FAT process overwrites the existing data. If the system were to reset during that process a portion of the file would have been changed before a new image was built. There would be no way to restore the original data. There could also be a directory entry pointing to a cluster chain that no longer exists or a cluster chain with no directory entry.

RTXCfatfile-safe uses a journaling approach which leaves the original file unchanged until either a file flush or file close is called. At that point the system performs an atomic switch of the file state and the new data becomes valid. The system also includes a new function call, fcloseabort() which allows file modifications to be aborted during a write, restoring the original data. This is only possible because the original data is untouched until the entire write/file close process has been completed.

Featured products

Upcoming Events

No events found.
Newsletter
Latest global electronics news
© Copyright 2024 Electronic Specifier