Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That rm command won't clean anything you would need to use shred first.


You're right that rm won't be enough, and the "Success!" isn't really a success.

But likely shred won't even work, because SSDs overwrite other blocks when you perform a write operation, for wear leveling. I'm not sure if there's any hope of erasing something from an SSD besides physically destroying the SSD.


>I'm not sure if there's any hope of erasing something from an SSD besides physically destroying the SSD.

I was under the impression that TRIM/UNMAP would erase the flash blocks currently associated with some sectors, is that not the case?


Generally I don't believe that TRIM securely erases anything.

https://security.stackexchange.com/questions/109916/does-the...


Shred and similar tools may not work properly on SSD with all the sector remapping going on, and most current Macs have SSDs for their boot volumes




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: