×

System and method for removing deleted entries in file systems based on write-once or erase-slowly media

  • US 5,765,175 A
  • Filed: 05/08/1997
  • Issued: 06/09/1998
  • Est. Priority Date: 08/26/1994
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer system comprising a processor and write once or erase slowly memory, said memory storing a file system including a file system directory in the structure of a linked list of nodes, each node identifying a corresponding file in the file system, each node comprising file identification information, a next pointer field which contains a pointer to a next node in the linked list, a replacement pointer field, which when set to contain a replacement pointer, points to a replacement node which replaces the node, and a delete flag field, which indicates whether the node has been deleted, a method for removing deleted and replaced nodes from the linked list directory, comprising the steps of:

  • (a) determining in the linked list a sequence of nodes that contain either a replacement pointer in the replacement pointer field to indicate that the corresponding file is replaced or a delete flag set to indicate that the corresponding file is deleted;

    (b) if the number of nodes in the sequence is greater than a first threshold, creating a new node that contains file identification information of a node which immediately precedes the sequence, the next pointer field of the new node containing a pointer to a next node after the sequence of nodes; and

    (c) modifying the replacement pointer field of the node which immediately precedes the sequence to point to the new node;

    wherein the number of nodes in the linked list is decreased.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×