make reset multithreaded and shorter

master
lub 1 year ago
parent 1d7656a8a3
commit 082c2205e6

@ -1,6 +1,9 @@
#!/bin/bash #!/bin/bash
for device in /dev/md* /dev/nvme* /dev/sd* /dev/vd*; do for device in /dev/md* /dev/nvme* /dev/sd* /dev/vd*; do
dd if=/dev/zero of=$device bs=10M count=100 dd if=/dev/zero of=$device bs=10M count=10 &
done done
wait
sync sync
Loading…
Cancel
Save