I want to use dd to overwrite a disk multiple times to destroy data beyond recovery.
I know I could use dd if=/dev/zero/ of=/dev/sdx/ to do a pass with zeros, or dd if=/dev/null/ of=/dev/sdx/ to accomplish similar (not exact same) result, but it will be slower.
I was wondering if there is a way to do something where I could write all zeros, then all ones to a disk using dd, or is there a better way to accomplish this?
dd if=/dev/sdx | hexdump -C | grep [^00]) and you can see it misses sometimes