摘要 |
A recovery method applied to the FAT file system in a Linux operating system is provided. The method includes steps of: fetching an FAT chain corresponding to a file; determining whether at least an index entry contained in the FAT chain is valid; and modifying one of the at least one index entry to be valid when the modified entry is examined as invalid. Through the recovery method, FAT files, specifically having FAT chain entries which are invalid or inferring file sizes larger than the maximum length representable by the FAT file system, can be efficiently recovered in the Linux system to minimize data loss as well as to prevent a system crash.
|