View previous topic :: View next topic |
Author |
Message |
d4mo Guru
Joined: 27 Jun 2005 Posts: 430
|
Posted: Mon Nov 22, 2010 7:55 pm Post subject: Wipe a Flash Drive |
|
|
What is the best way to securely overwrite and entire flashdrive. Getting everything just in case a virus slipped on there or something. |
|
Back to top |
|
|
gentoo_dude l33t
Joined: 08 May 2004 Posts: 645 Location: Washington, DC
|
Posted: Mon Nov 22, 2010 11:14 pm Post subject: |
|
|
dd if=/dev/zero of=/dev/sdb (assuming that your usb device is /dev/sdb). |
|
Back to top |
|
|
b0nafide Apprentice
Joined: 17 Feb 2008 Posts: 171 Location: ~/
|
Posted: Mon Nov 22, 2010 11:19 pm Post subject: |
|
|
recreating the filesystem should be enough, but you could also write zeros and/or garbage with dd, if you're super paranoid about the flash drive's contents.
...then there's the problem of some flash drives with a seperate U3 partition... but that is another story. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54310 Location: 56N 3W
|
Posted: Mon Nov 22, 2010 11:20 pm Post subject: |
|
|
gentoo_dude,
Err - nope. You can't beat the wear levelling that rearranges the logical to physical space mapping on the fly.
You need to use the security erase feature, if the drive has one and some low level command to trigger it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|