Skip to content

Take advantage of SSD's data evaporation #3

@mhmd-azeez

Description

@mhmd-azeez

Currently the app replaces every byte of the file one by one. It's the only way of making sure the file won't be recovered on HDDs. However, when a file is deleted on some SSDs, the file will be deleted forever through a process called "Garbage Collection". So Taking advantage of that feature will speed up the app dramatically on SSDs. Because the only thing the has to do is to simply delete the file from the file system, the rest is done by the SSD itself.

Also, overwriting big files on SSDs could potentially shorten their life, which is rather sad 😢. Because of that fact, SSDs oftentimes don't save files to the same location on disk twice. Instead, they would make another copy in somewhere else and update the files system pointer to that location and would just leave the old copy where it is. So overwriting stuff won't do anything really.

For more info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions