this post was submitted on 18 May 2024
235 points (94.7% liked)

Privacy

31993 readers
445 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] pdxfed@lemmy.world 5 points 6 months ago (3 children)

$.05 explanation for those unfamiliar?

[–] SzethFriendOfNimi@lemmy.world 23 points 6 months ago (1 children)

Here’s the ELI5.

Imagine there’s a set of lockers in a school.

When a student leaves the school or changes lockers they remove the label on the locker but don’t empty it.

A TRIM, however, means that they not only remove the label from the locker by also clean out its contents.

[–] adespoton@lemmy.ca 17 points 6 months ago (1 children)

Not quite; the contents all go in a bag labeled “trash” — someone still has to remove it from the locker.

[–] Blaster_M@lemmy.world 9 points 6 months ago (1 children)

TRIM is a command / instruction for solid state storage to release a block of data, so it is blanked and ready to be written again.

[–] SaltySalamander@fedia.io 14 points 6 months ago

No, it actually isn't. TRIM doesn't erase data.

https://www.techtarget.com/searchstorage/definition/TRIM

Trim marks blocks for deletion. It doesn't delete anything.

[–] kevincox@lemmy.ml 3 points 6 months ago* (last edited 6 months ago)

Usually when you "delete" data on a storage medium you really just remove a reference to it. The data is still sitting on the disk if you know where to look. TRIM is a command that tells the storage device "I don't need this anymore" and usually the hardware will return empty data the next time you read it (really the hardware is doing the same thing of just forgetting that there is data there, it is turtles all the way down, but it will track that this block is supposed to be empty and clear it when you next read it).

However I think this is an unlikely theory. It would require two bugs:

  1. The OS would be trying to read data that isn't supposed to exist. This would be a bug on its own that would likely be quite visible.
  2. The iPhone uses disk encryption, and when you reset the device the key is (supposed to be) reset, meaning that even if you read the old data it would be useless.

Both of these would be very significant and unlikely to last long without being discovered. Having both be present at the same time therefore seems very improbable to me.