dd if=/dev/random of=/dev/sda

That would take ages. You probably meant 'dd if=/dev/urandom of=/dev/sda'. One more character before "random" that makes much difference on the running time! That latter command is indeed analog to 'shred -n 1 > /dev/sda'.

Reply via email to