A method of manufacturing a disk drive is disclosed. The disk drive
comprising a disk, a head actuated radially over the disk, a host
interface for receiving disk commands from a host system, and a
semiconductor memory for storing a drive operating program and a
manufacturing program. The drive operating program comprising a disk
access procedure for processing disk commands and a disk access vector
for calling the disk access procedure. During a development stage, the
manufacturing program is executed by an external test system that sends
disk commands to a development drive. During a manufacturing stage, the
manufacturing program is executed internally on each disk drive being
manufactured by calling the disk access procedure of the drive operating
program through the disk access vector.