Patent attributes
An object of the present invention is to embed information while making effective use of a recording area at the time of recording data. To this end, a controller in a tape drive includes: a storage unit which stores information desired to be embedded; an acquisition unit which acquires the information stored in the storage unit; a writing unit which repeatedly writes a CQ set determined on the basis of the acquired information the number of times determined on the basis of this information; a reading unit which reads data in which information is embedded; and an identification unit which identifies information embedded in the read data, and which determines whether or not the read data can be used and the like, in comparison with this information and the information stored in the storage unit.