A sensor for measuring the position of the head of a tape drive is
disclosed. The sensor includes a light emitter movably connected to the
head; a light sensor movably connected to the head and rigidly connected
to the light emitter and located to receive a beam of light from said
light emitter; and, a light interrupter rigidly connected to the head and
located for interrupting the light beam.