Using dd to fill/wipe your disk

dd if=/dev/zero of=/dev/hda
dd if=dev/urandom of=/dev/hda
dd if=/dev/random of=/dev/hda
  • Using /dev/zero is a load quicker, but not as thorough.
  • /dev/urandom takes longer but is more thorough and doesn’t require you to be doing anything on the machine to help create the random data.
  • /dev/random is slower and more thorough still and requires monitoring the system to generate entropy.

Excellent explanation here: http://superuser.com/questions/359599/why-is-my-dev-random-so-slow-when-using-dd

About Miller

I live in Second Life with my shoulder pet Logan. I write code for her and I sometimes greet people in the Virtual Kennel Club Dog Park at Turing Isle: http://slurl.com/secondlife/Turing Isle/128/126/27/ I also write in my own Blog at http://miller.logspark.com and sometimes even on FB.
This entry was posted in Linux Stuff, Reminders and tagged , . Bookmark the permalink.

Leave a comment