add wipe status (100Gb step)
This commit is contained in:
parent
bb202db8d7
commit
87be64e61b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user