A command line program to set and view parameters and test performance of storage devices.
hdparm is a command line interface to various kernel interfaces supported by the Linux SATA/PATA/SAS "libata" subsystem and the older IDE driver subsystem.
Warning: Using hdparm incorrectly can cause major data corruption and data loss.
In Ubuntu, executing hdparm requires root permission, so it should normally be run with sudo.
More information:
- hdparm on Ubuntu Manpages
- ATA Secure Erase on ata Wiki (how to use the hdparm command to issue a Secure Erase ATA instruction to a target storage device)
- DMA on Ubuntu Community Help Wiki (some information about hdparm related to DMA or Direct Memory Access)