From 87be64e61bfafc2d94b3c7199b1885e874de11ba Mon Sep 17 00:00:00 2001 From: MatMoul Date: Tue, 7 May 2024 01:53:45 +0200 Subject: [PATCH] add wipe status (100Gb step) --- mtm-ddwipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mtm-ddwipe b/mtm-ddwipe index a9db973..1e47516 100755 --- a/mtm-ddwipe +++ b/mtm-ddwipe @@ -42,10 +42,10 @@ wipe_dev() { date echo "" echo "blkdiscard secure" - if ! blkdiscard -f -p 1G -s "${1}"; then + if ! blkdiscard -f -p 100G -s -v "${1}"; then echo "" echo "blkdiscard zero" - if ! blkdiscard -f -p 1G -z "${1}"; then + if ! blkdiscard -f -p 100G -z -v "${1}"; then echo "" echo "dd zero" if ! dd if=/dev/zero of="${1}" bs=1M status=progress; then