Patent ID: 8341456

Claim:
A method of recording management information on a computer-readable recording medium, the method comprising: performing a first replacement recording by recording first data in a first replacement area when a command for overwriting the first data in a first area is received, the first area being a pre-recorded area, the first replacement area being defective, the first replacement recording generating a first temporary entry; performing a second replacement recording by recording the first data in a second replacement area instead of the first replacement area, the second replacement recording generating a second temporary entry; generating a defect entry based on the first temporary entry and the second temporary entry, the defect entry being management information for managing the first replacement recording and the second replacement recording; and recording, in a management area of the computer-readable recording medium, the generated defect entry, the defect entry including, first location information indicating a location of the first area based on the first temporary entry, and second location information indicating a location of the second replacement area based on the second temporary entry, wherein the defect entry does not include location information on the defective first replacement area, and wherein the defect entry further includes status information for indicating whether the first area requested to be overwritten is one cluster or a plurality of consecutive clusters, wherein if the first area is a plurality of consecutive clusters, a pair of defect entries is recorded in the management area, wherein one of the pair of defect entries includes first location information indicating a location of a first cluster of the first area and second location information indicating a location of a first cluster of the second replacement area, and the other of the pair of defect entries includes first location information indicating a location of a last cluster of the first area and second location information indicating a location of a last cluster of the second replacement area.