From d2831227b7b5e513849fd43f000bfe70ad5d9c53 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 21 Dec 2019 07:15:42 +0100 Subject: [PATCH] make reset.sh more aggressive --- reset.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reset.sh b/reset.sh index edbac04..75ef62f 100755 --- a/reset.sh +++ b/reset.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e -dd if=/dev/zero of=/dev/vda bs=1M count=100 -dd if=/dev/zero of=/dev/vdb bs=1M count=100 -sync +for device in /dev/md* /dev/nvme* /dev/sd* /dev/vd*; do + dd if=/dev/zero of=$device bs=10M count=100 +done +sync \ No newline at end of file