this post was submitted on 21 May 2024
357 points (96.4% liked)
Technology
59030 readers
3004 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is how delete works on all disks and filesystems, SSD too. It just is marked as free in the fs tree. "Real" delete is called secure delete and is slow.
Rewriting bits to 1s or 0s is very slow especially in mechanical drives and is hard on equipment. Even SSDs have a rated max writes, if we rewrite all data every delete it will decrease the lifespan of hardware.
This is why is assumed they mark them to overwrite. Google knows a lot about what makes drives last longer, and OS and drive firmware makers have known for decades too.
Every so often I scrub the free space of my drives to make sure I'm not retaining exploitable garbage data. Easier to do that once every week or so than to secure delete every file.