add wipe status (100Gb step)
This commit is contained in:
parent
bb202db8d7
commit
87be64e61b
@ -42,10 +42,10 @@ wipe_dev() {
|
|||||||
date
|
date
|
||||||
echo ""
|
echo ""
|
||||||
echo "blkdiscard secure"
|
echo "blkdiscard secure"
|
||||||
if ! blkdiscard -f -p 1G -s "${1}"; then
|
if ! blkdiscard -f -p 100G -s -v "${1}"; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "blkdiscard zero"
|
echo "blkdiscard zero"
|
||||||
if ! blkdiscard -f -p 1G -z "${1}"; then
|
if ! blkdiscard -f -p 100G -z -v "${1}"; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "dd zero"
|
echo "dd zero"
|
||||||
if ! dd if=/dev/zero of="${1}" bs=1M status=progress; then
|
if ! dd if=/dev/zero of="${1}" bs=1M status=progress; then
|
||||||
|
Loading…
Reference in New Issue
Block a user