this post was submitted on 18 Aug 2025
653 points (98.2% liked)

Technology

74319 readers
4973 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 news or articles.
  3. Be excellent to each other!
  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, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] WhyJiffie@sh.itjust.works 2 points 3 days ago

@zer0bitz@lemmy.world did a SecureErase, which is an entirely different function. It was exactly made to be used in this scenario: user is selling their laptop.

other than that, hdparm --trim-sector-range is most probably only marked dangerous because with a slight miscalculation you can wipe some of your data and you won't even know how much damage you did. I'm pretty sure the fstrim command relies on this, which is executed every few weeks on my system, by default. check systemctl status fstrim.timer, maybe on yours too.

Quick formatting should be enough to prevent any normal user from extracting meaningful data from the flash storage as only the controller knows how to piece together the flash cells to a file.

what do you mean by quick formatting? how do you do that on linux? I have only heard this term with te windows disk management tool.

on windows quick formatting only deletes the partition entry from the partition table. that's why it's quick. all the former data is there and can be easily recovered, given you know the former partition boundaries, which can also be recovered by tools. the ssd controller won't know a thing, it won't forget where it should look for each LBA address.