Patent ID: 7426333

Claim:
A recording apparatus for managing data in a computer-readable medium in which data are recorded in units of an erasure block configured by a plurality of clusters, comprising: first detecting means for detecting said plurality of clusters which are free; second detecting means for detecting said erasure block in which said plurality of clusters are all free; means for obtaining an erasure block size in at least one portion of said recording medium; means for obtaining a cluster size in said at least one portion of said recording medium; means for obtaining a data block size based upon said erasure block size and said cluster size, said data block size representing a number of said clusters which form one said erasure block; means for adjusting a data block start position to one said erasure block in which said plurality of clusters are all free; and recording means for recording data to said plurality of clusters of said erasure block detected by said second detecting means beginning at said data block start position.