On 14-10-15 09:12 AM, Peter Wu wrote: > Hi, > > Recent versions of util-linux have a blkdiscard program. How does this compare > to the --security-erase option of hdparm? The goal is to erase the contents of > an previously used SSD to improve performance. > > Is the command `blkdiscard -s /dev/sdd` equivalent to the instructions listed on > https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase? --security-erase is the nearest thing to a "low level format" that exists. On some mechanical drives, it actually performs a true low level format. For SSDs, most manufacturers that I have dealt with use --security-erase as their preferred method for reinitializing a corrupted drive. --security-erase is normally much faster than TRIM as well. Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html