2011/09/01

Wiping data


dd - Convert and copy a file. I think of it as program to read and write zeros and ones on the lowest level possible. Filling with zeros should be faster than filling with random data. For specific (secure) file destruction, see shred. I know much more awesome things can be done with dd but this is probably all I will ever use.

WIPE DRIVE - After this, optionally run again using /dev/zero
dd if=/dev/urandom of=/dev/sdb bs=1M
WIPE MBR - I haven't tested this myself, perhaps useful with messed up MBR?
dd if=/dev/zero of=/dev/sdb bs=446 count=1

No comments:

Post a Comment