what is this

in case you have a old harddrive (no SSD) then you can remove all bits&bites using this guide. i'm not 100% sure how many passes and 'how' secure that is. but it is better than doing nothing either, so here we go.

clear the whole drive

for a single disk:

 cat /dev/urandom | dd of=/dev/sda

using pv:

 cat /dev/urandom | pv | dd of=/dev/sda
 632MB 0:02:24 [4.79MB/s]

for two disks also using pv:

 cat /dev/urandom | pv | tee > $(dd of=/dev/sdb) | dd of=/dev/sda
 632MB 0:02:24 [4.79MB/s]

links

Powered by MediaWiki