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:


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: Isle/128/126/27/ I also write in my own Blog at and sometimes even on FB.
This entry was posted in Linux Stuff, Reminders and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s