In order to provide a control device for a storage and reproduction
mechanism that can acquire a constant error rate without being affected
by changes of atmospheric pressure, a control device comprises a storage
medium for storing data, a head for conducting a storage/reproduction
process of data on the storage medium, an error detection unit for
detecting an error of the data read by the head, and a flying height
control unit for controlling a flying height of the head in accordance
with the error rate for correlating changes of the flying height due to
the changes in the atmospheric pressure.