A falling-time measuring unit acquires information indicating whether a
magnetic disk drive is falling, from a fall sensor at a predetermined
sampling cycle, and measures a falling time based on the acquired
information. A threshold changing unit counts number of times the
measured falling time exceeds a predetermined fall-determination
threshold within a predetermined time, and extends the fall-determination
threshold when the counted number of times exceeds a predetermined
maximum number of times. A head retracting unit retracts the head to the
retraction position when the measured falling time exceeds the extended
fall-determination threshold.