this post was submitted on 21 May 2024
358 points (96.4% liked)

Technology

59207 readers
2903 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. 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
[–] [email protected] 45 points 5 months ago* (last edited 5 months ago) (2 children)

Not dissimilar to the dinosaur disk drive, “delete” equals “let’s just make this space available until something else comes along.”

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.

[–] [email protected] 21 points 5 months ago (1 children)

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.

[–] [email protected] 2 points 5 months ago

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.

[–] [email protected] 4 points 5 months ago

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.