by fdeee · 3y ago · 0 comments
Also, TRIM is only possible with drives that are still in working order. Very often you can't TRIM or secure delete a drive that is defective and returned by RMA. In that case you either need a very expensive no-disk-return support contract. Or you just use FDE.
And if you turn off TRIM you get a massive performance decrease.
The disadvantages are massive, such as significant slowdown when the drive gets filled. Yet the creators of dm-crypt are paranoid about enabling it by default:
https://wiki.archlinux.org/title/Dm-crypt/Specialties#Discar...
I couldn't understand ref 3: https://web.archive.org/web/20160709174950/http://www.saout....
Ref 4: "you have an information leak where filesystem-discarded blocks (by TRIM) can be identified by an attacker with low effort"
https://web.archive.org/web/20160709183108/http://www.saout....