-
Notifications
You must be signed in to change notification settings - Fork 39
Description
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:
- Data Evaporating from a SSD by Sam Bowne
https://samsclass.info/121/proj/ssd-evaporation.htm - [VIDEO] Sam Bowne - Data evaopration on SSDs
https://www.youtube.com/watch?v=zG0orMGf_Go