S.M.A.R.T. drive checking has never been easier
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
196 B

set -v
sudo /sbin/hdparm -I $1 | grep SECURITY\ ERASE
sudo /sbin/hdparm --user-master u --security-set-pass GEHEIM $1
time sudo /sbin/hdparm --user-master u --security-erase GEHEIM $1