In a disk drive which executes data read operation or data write operation from
or into a disk, its CPU determines whether or not the temperature environment of
the disk drive is in the high temperature condition exceeding a specified value
according to a temperature detection value from a temperature sensor. Under high
temperature environment, the CPU aborts re-assignment processing including write
operation mode other than ordinary write operation.