摘要 |
An optical recording system writes data on an optical disk that has a user data area having a plurality of sectors and that has a map having first and second indicators corresponding to a portion of the plurality of sectors. The first indicator has a first logic state indicating that a corresponding sector contains data and has a second logic state indicating that the corresponding sector does not contain data. The second indicator has a first logic state indicating that the corresponding sector is to be erased. A recorder is coupled to the optical disk for erasing data and the indicators from the sectors and the map, respectively, in response to an erase command. The recorder writes data and the indicators on the sectors and the map, respectively, in response to a write command. A processor coupled to the optical storage medium and the recorder provides both the erase command and the write command in response to the first indicator being in the first logic state for a two-pass write, provides the write command in response to the first indicator being in the second logic state for a one-pass write, and provides the erase command in response to the second indicator being in the first logic state during an off-line data management phase. A memory stores a copy of the map having third and fourth indicators corresponding to a portion of the plurality of sectors, the third indicator having a first logic state indicating that a corresponding sector contains stored data and having a second logic state indicating that the corresponding sector does not contain stored data, the fourth indicator having a first logic state indicating that a corresponding sector is to be erased during the off-line data management phase.
|