Jump to content

Transaction-Safe FAT File System

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Redhatter (talk | contribs) at 22:55, 8 April 2010 (TFAT: Link to File Allocation Table page instead of FAT disambiguation page). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Transaction-Safe FAT File System (TFAT) refers to two file systems used in Microsoft products to provide transaction-safety for data stored on a disk. The goal is to reduce the risk of data loss in cases of power loss or unexpected removal of the drive. The latter problem has become more common with the spread of USB drives.

TFAT

The original form of TFAT was a driver layer modification to the original FAT file system that maintained two copies (FAT0 and FAT1) of the file allocation table instead of just one. While performing a drive operation, changes would be made to FAT1. When the operation was complete, the FAT1 table would be copied to FAT0, updating the stable view of the file system.[1]

TexFAT

The Transaction-Safe Extended FAT File System (TexFAT), TexFAT provides similar functionality to the original TFAT using the exFAT file system as the base file system instead of FAT. Introduced with Windows Embedded CE 6.0, it replaced TFAT, and is frequently referred to as TFAT, which can lead to confusion with the original TFAT described above.[2]

The use of exFAT as the underlying file system allows for larger files and larger partitions. TexFAT requires a hardware-specific driver designed for the type of media on which the TexFAT volume resides.[2]

Limitations

Due to the lack of support in desktop operating systems, neither form of TFAT is recommended for removable media. While the desktop OS could still read the drive, it could not use the transaction-safe features, so unexpected removal or a power outage could lead to data loss. In addition, directories created under the desktop OS may not be transaction-safe even if the drive is later attached to a TFAT aware OS.[1]

References