Patent ID: 7149930

Claim:
A recording/reproducing apparatus comprising: a recording medium; reception means which receives data from a host; recording means which writes the data into the recording medium; control means; defective sector storage means which stores defective sectors; control-information storage means which stores attribute of AV data recorded in the recording medium; and the attribute including information indicating whether or not the AV data is allowed to be overwritten, wherein when the data received by the reception means as data to be written into the recording medium is AV data, which is audio and/or video data, and a sector of the recording medium in which the data is to be written is registered in the defective sector storage means, the data to be written into the defective sector is written into a sector which is physically contiguous with the defective sector and is not defective, and wherein another AV data is already written in the sector which is physically contiguous with the defective sector and is not defective, the control means checks whether or not the attribute of said another AV data stored in the control-information storage means is information indicating overwrite allowed, and if the information indicates overwrite allowed, said another AV data is overwritten with the data to be written.