A shift code that consists of N-symbol code words is provided as an
L-symbol "master sequence" in which no sub-sequence of N symbols repeats,
where L.ltoreq.S.sup.N and S is the number of code symbols. A decoder
determines a location in the code from N decoded symbols. The code
locations may, for example, correspond to radial positions, or other
position, times, and so forth. In one embodiment, the master sequence is
continuously written to a data storage disk during a spiral write
operation and a reader on a given circular track reads at least N symbols
from the portion of the spiral that crosses the track and determines a
code word. The radial position of the reader is then determined based on
the location of the code word in the code.