A method of enhancing the thermal stability of gray codes is disclosed.
The gray code block in a servo area is recorded with a combination of two
different magnetization directions. When the two different magnetization
directions are expressed as "+" and "-", the information "1" is recorded
as "++--" or "--++" with the information "0" recorded as "+-+-" or
"-+-+". Since the filter for gray code demodulation is provided with a
perpendicular recording mode, the servo area does not use long-wavelength
signals that are susceptible to thermal demagnetization. As a result,
thermal stability is enhanced.