Patent ID: 6711588
Filing Date: 2004-03-23
Classification: G06F,Y10S

Abstract:
A file management method for a file system with a storage device that is provided with a plurality of data blocks to store data, and said storage device and a main memory of a computer are each provided with a management block to save in-use information about whether each data block is in use or not, in-transition information about whether the content of each data block is being changed or not, and information about whether an adjacent data block is used as a sequential area or not, comprising the steps of:for each prospective second data block, checking said in-use information of the management block on the main memory when securing a second data block so as to store data relating to a first data block, when an unused data block is found, setting the in-transition information of the unused data block to be in transition and the in-use information to be in use, the unused data block becoming the second data block; initializing an area to manage a data block in said second data block; storing the position of said first data block into the area to manage a data block in said second data block; storing the position of said second data block into an area to manage a data block in said first data block; copying the information of the management block on said main memory to the management block on said storage device; and removing the in-transition information.