Patent ID: 6850379

Claim:
A method for registering a defect map within a hard drive, said method comprising: accepting, from a host computer, specification of a sector from/to which data is to be read/written according to a logical address without any consideration to a defect sector on a recording disk within said hard disk; obtaining a physical address of said sector with reference to a range in which defect sectors exist, wherein said obtaining further includes sequentially searching sectors on said recording disk in a predetermined order; adding said logical address of said sector to a number of defect sectors up to said sector to obtain a physical address of said sector when the number of tracks is 1 in said range that denotes a presence of defect sectors continued up to immediately before said sector; and adding said logical address of said sector to a number of defect sectors up to said sector to obtain a physical address of said sector when the number of tracks is 2 or higher in said range that denotes a presence of defect sectors continued up to immediately before said sector, and said sector is not included in said range; and reading/writing data from/to said sector according to said obtained physical address.