0

I know that I wipe a USB drive from Linux by doing a dd overwriting the whole device with random data. This however may take a very long time.

Is it possible to do this faster (and still safely), by asking the drive to erase all unused space? That is to activate the flash erase process.

Edit: What I'm looking for is a way to do the electrical erase of all blocks in the flash. Blocks set aside for wear leveling should also be possible to erase.

Perhaps SD cards have better features for this.

Rohit Gupta
  • 301
  • 2
  • 4
  • 14
Kjeld Flarup
  • 101
  • 3

1 Answers1

0

Actually I found an other solution, that secures my data. Being in a Linux world, I simply format the drive with LUKS before saving anything secret on the drive. This is actually similar to the SSD encryption in the question @Zac67 referred to.

There is a fine description of formatting a drive here: https://sorenpoulsen.com/encrypting-a-usb-flash-drive-on-ubuntu

And the best thing is that it works out of the box with latest Ubuntu. I'm sure that similar things are available for Windows.

Kjeld Flarup
  • 101
  • 3
  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. – Community Jun 23 '23 at 23:51