diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-12-30 21:25:08 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-12-30 21:25:08 +0000 |
commit | 0ffeaf3b682d4553c81e1a207efc7d77a250dd6f (patch) | |
tree | 173203baf9389edef361c6928da67a816e1ee389 | |
parent | c37f1383c62f53f323f13acc9802ed50135b3be4 (diff) | |
download | dotfiles-0ffeaf3b682d4553c81e1a207efc7d77a250dd6f.tar.gz |
comment
-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" |