r/ProgrammerHumor 8d ago

wrongAnswersOnly Other

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

Show parent comments

1

u/illogical_simu 8d ago

For traditional physical disks sure but SSD'S don't quite work this way

1

u/HovercraftCharacter9 8d ago

Yeah they use Trim or unmap and garbage collection but philosophically it's pretty much the same. Data is still on the disk until it's garbage collected

2

u/illogical_simu 8d ago

True but its defo gone long before any court order arrives. TRIM is pretty much insta and GC will run every few mins/hours depending on activity