The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Is it safe to zero out a thumb drive?

    Discussion in 'Hardware Components and Aftermarket Upgrades' started by talin, Dec 4, 2011.

  1. talin

    talin Notebook Prophet

    Reputations:
    4,694
    Messages:
    5,343
    Likes Received:
    2
    Trophy Points:
    205
    I'd just like to know if it's safe to zero out a thumb drive? I thought I had read before that zeroing out can damage flash cells. Is this true?
     
  2. Nemix77

    Nemix77 Notebook Deity

    Reputations:
    287
    Messages:
    1,086
    Likes Received:
    26
    Trophy Points:
    66
  3. talin

    talin Notebook Prophet

    Reputations:
    4,694
    Messages:
    5,343
    Likes Received:
    2
    Trophy Points:
    205
    Thanks for the helpful answer. :) I use the linux 'dd' command though to zero out drives. ;)
     
  4. kent1146

    kent1146 Notebook Prophet

    Reputations:
    2,354
    Messages:
    4,449
    Likes Received:
    476
    Trophy Points:
    151
    Yes, you can zero out a flash drive.

    But it isn't really necessary. Trying to recover / undelete data off of flash memory is pretty much impossible. Yes, the memory cells may still contain the 1's and 0's of your data. But without some kind of file table to actually map out those bits of data into readable files, that data might as well be useless.
     
  5. debguy

    debguy rip dmr

    Reputations:
    607
    Messages:
    893
    Likes Received:
    4
    Trophy Points:
    31
    True low level formatting is quite pointless nowadays since the HDD's firmware won't allow it anyway. All that's left of it is erasing the MBR which is neither "magic" (as some tools might want to tell you) nor secure.
    One could compare it to ripping out the the table of content from a book. It will be harder to find a specific chapter or file, but it does not add any security against someone who is willing to read the whole book/medium to find what he's looking for.

    Good start, but don't do that every day on a whole flash drive. To erase the MBR just run this:
    Code:
    dd if=/dev/zero of=/dev/sdX bs=512 count=1 # replace X with the flash drive's device name
    Undeleting data from a storage medium is not that hard if the data itself hasn't been deleted somehow. Especially on non-journaling file systems like fat or ext2 it works pretty well, even if the MBR was erased. It does not matter if the medium is a hard disk or a flash medium as long as the file system is intact.

    Actually the only way to reliably delete a flash medium without wearing it too much or even destroying it completely is to flash the controller's memory of the flash cell contents. That's what the TRIM command "secure erase" does. For any flash medium without TRIM support the only alternative with similar effect would be to reflash the controller.
    For secure single-file deletion on HDDs there is the "wipe" tool which should be available in every mayor Linux distribution.
     
  6. tilleroftheearth

    tilleroftheearth Wisdom listens quietly...

    Reputations:
    5,398
    Messages:
    12,692
    Likes Received:
    2,717
    Trophy Points:
    631
    Very easy to recover data from flash drives! Even if they have been formatted.

    While I wouldn't recommend zeroing flash drives on a regular basis (because the nand they contain is sub-par (write/erase longetivity-wise) compared to what SSD's offer...) if you are giving/selling this away, it is highly recommended to overwrite every available cell you can to protect any sensitive data it contained (ever).

    Good luck.
     
  7. talin

    talin Notebook Prophet

    Reputations:
    4,694
    Messages:
    5,343
    Likes Received:
    2
    Trophy Points:
    205
    Like with hdd's, I simply use
    Code:
    sudo dd if=/dev/zero of=/dev/XXX bs=256k
    It's always worked for me. :p