add wipe status (100Gb step)

This commit is contained in:
MatMoul 2024-05-07 01:53:45 +02:00
parent bb202db8d7
commit 87be64e61b

View File

@ -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