Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
for i in $(lshw -class disk -class tape | grep 'logical name' | awk '{ print $NF }' | grep 'sd\|nvm'); do
    timeout 4010 dd if=/dev/zero of=$i bs=1M20M count=1001 &
done

sleep 4015

for i in $(lshw -class disk -class tape | grep 'logical name' | awk '{ print $NF }' | grep 'sd\|nvm'); do
    wipefs -a -f $i
done

...