this post was submitted on 21 May 2024
360 points (97.1% liked)
Technology
58303 readers
10 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
Exposes the "myth" of deleted I think is a bit much. They described it very well a good ways down:
If your phone deletes a photo, say as a background process (after being in the trash for 30 days) and a bug prevents that space from eventually getting reclaimed, that data would persist even though it's "inaccessible". Fixing something else, may have made that data accessible again causing the issue people were seeing. Good to see they got it resolved though
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.
Ouch
Always SDelete in Windows and scrub in Linux