A method adjusts a flying-height distance between a magnetic write head
and a magnetic medium. The method includes positioning the write head in
a location spaced from the magnetic medium by the flying-height distance.
The write head includes a magnetic yoke and a proximal region in
proximity to the magnetic medium. The write head further includes a
resistive heater and at least a portion of the resistive heater is within
the magnetic yoke and is in proximity to the proximal region. The
resistive heater is configured to heat the proximal region. The proximal
region has a coefficient of thermal expansion. The proximal region is
configured to expand and to contract in response to a temperature of the
proximal region. The method further includes flowing an electric current
through the resistive heater. The method further includes controlling the
electric current to adjust the temperature of the proximal region to
selectively expand and contract the proximal region and thereby control
the flying-height distance. Controlling the electric current includes
pulsing the electrical current and adjusting a time interval between
pulses.