Patent ID: 8738845

Claim:
A method comprising: maintaining a first file allocation table and a second file allocation table for a file system; synchronizing the first file allocation table and the second file allocation table resulting in the second file allocation table comprising a copy of the first file allocation table, the first file allocation table and the second file allocation table containing sector information for used sectors of the file system; setting a last known good indicator to indicate that the first file allocation table is a last known good file allocation table; initiating a write operation to write data to a file in the file system; and, thereafter: writing the data to one or more unused sectors in the file system; subsequent to writing the data to the one or more unused sectors in the file system, rendering an update to the second file allocation table; preserving the first file allocation table and the last known good indicator between writing the data to the one or more unused sectors in the file system and rendering the update to the second file allocation table; and maintaining the first file allocation table as the last known good file allocation table when the write operation is interrupted, wherein the last known good indicator is not reset to indicate that the second file allocation table is maintained as the last known good file allocation table.