×

Transaction-safe FAT files system

  • US 8,156,165 B2
  • Filed: 01/29/2007
  • Issued: 04/10/2012
  • Est. Priority Date: 10/22/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method implemented on a computer system by a processor configured to execute instructions, the method comprising:

  • creating a new subdirectory for a parent directory by allocating a first cluster and a second cluster on a storage medium for the new subdirectory, the first cluster and the second cluster being overwritable;

    creating, in the first cluster, an entry pointing to a current sector where the new subdirectory is stored and an entry pointing to the parent directory;

    filling a remainder of the first cluster with data that a file system will not permit to be overwritten to prevent changeable data from being stored in the first cluster;

    writing, to the second cluster, an entry for a file of the new subdirectory;

    storing, in a file allocation table for the storage medium, a chain of entries corresponding to the new subdirectory, the chain of entries linking the first cluster to the second cluster; and

    updating the entry for the file of the new subdirectory in response to modification of the file by;

    writing data of the second cluster to a new cluster of the storage medium,rewriting the entry for the file of the new subdirectory in the new cluster without overwriting the first cluster and the second cluster, andrelinking the chain of entries corresponding to the new subdirectory to replace the second cluster with the new cluster.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×