In a disk drive connected to a host computer, and responsive to standard disk-drive commands associated with disk-drive operations and to nonstandard disk-drive commands required for disk-drive manufacture and quality testing, the disk drive including a disk, a head actuated radially over the disk, a disk control system for responding to disk-drive commands and for accessing data storage locations on the disk through the head, and a serial ATA interface for coupling the disk control system to the host computer when the disk drive is connected to the host computer, wherein the serial ATA interface is configured to transfer standard disk-drive commands from the host computer to the disk control system and is configured to not transfer nonstandard disk-drive commands form the host computer to the disk control system, and the standard disk drive commands include a Self Monitoring Analysis and Reporting Technology (SMART) write-log command, a method for transmitting a nonstandard disk-drive command to the disk drive, comprising:
- embedding a nonstandard disk-drive command within a data block accessible using a SMART write-log command;
- transmitting the SMART write-log command from the host computer through the serial ATA interface to the disk control system, wherein the SMART write-log command causes the data block to be transformed from the host computer to the disk control system;
- extracting the nonstandard disk-drive command that is embedded within the data block;
- and
- providing the extracted nonstandard disk-drive command to the disk control system.