diff options
-rwxr-xr-x | bin/ata-secure-erase | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ata-secure-erase b/bin/ata-secure-erase index 17ec49b7..b59d71b5 100755 --- a/bin/ata-secure-erase +++ b/bin/ata-secure-erase @@ -34,6 +34,8 @@ mount | grep -qv "$device" # # that scrub(1) can do anything meaningful to an # # SSD; uncomment if wanted when running this script +# no -q on the grep here as we want one output of `hdparm -I` to be +# displayed sudo hdparm -I "$device" | grep "not frozen" sudo hdparm --user-master u --security-set-pass Eins "$device" |