[Trilug-ontopic] secure removal of files on a usb stick

Alan Porter porter at trilug.org
Sat Jul 26 23:50:29 EDT 2014


> Is there any benefit using /dev/random or /dev/urandom in this scenario?

Not on a flash drive.

Perhaps on a magnetic disk drive, since a forensics expert could look at
the magnetic spots on the platter to distinguish a "1 covered up by a 0"
from a "0 covered up by a 0".  This is where the multiple writes are useful.

If you don't think someone is going to crack open the case and examine
the platters, then "dd if=/dev/zero" should be good enough.

Alan





More information about the Trilug-ontopic mailing list