An information recording method in a rotating storage apparatus comprising
a rotating recording medium for recording information, a head for
performing at least a write operation onto the rotating recording medium,
and an acceleration sensor for detecting a shock. The method comprises
outputting a shock out signal if an output from the acceleration sensor
exceeds a predetermined threshold. A signal is output at a first level
for a write inhibit period in response to the input of the shock out
signal, where the write inhibit period is selected based at least in part
on a time span in which the output of the acceleration sensor exceeds the
predetermined threshold. Writing to the rotating recording medium is
prohibited during the write inhibit period.