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