A disk drive includes an actuator assembly having a read/write head, a
spindle motor, a disk mounted for rotation on the spindle motor, a
wedge-to-wedge timer and a sector size selector. The disk includes a
recording surface having a plurality of tracks and each track includes a
plurality of servo wedges. The recording surface has at least one data
sector between circumferentially adjacent servo wedges on each track. The
wedge to wedge timer measures the time elapsed between at least two
successive detections of circumferentially adjacent servo wedges and
outputs a wedge-to-wedge correction signal that is dependent upon the
measured elapsed time. The sector size selector outputs a sector size
signal that changes according to the wedge-to-wedge correction signal. In
turn, the sector size signal determines the size of the next data sector
on the recording surface of the disk.