2014年8月19日星期二

Erase Disk with Linux DD Command

/dev/sda is the drive you want to erase. Please reconfirm the drive is correct or you will lost your data. Use it for your own risk!

Fill with zero like this

dd if=/dev/zero of=/dev/sda bs=1M
 
or Fill with random data like this
 
dd if=/dev/urandom of=/dev/sda bs=1M 

沒有留言: