A disk drive comprising a first sensor mounted on a nominally stationary portion
of the disk drive and adapted to detect acceleration disturbances of the disk drive.
The disk drive further comprising: a dual-function subsystem having a first circuit
adapted to provide a write-inhibit signal and a second circuit adapted to provide
a feed-forward basis signal, the dual-function subsystem adapted to receive a first
sensor signal from the first sensor and to provide (a) the write-inhibit signal
based on the received first sensor signal and a first threshold value, and (b)
the feed-forward basis signal based on the received first sensor signal.