Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Linux dm-crypt TRIM support for use with SSD

On Mon, Aug 15, 2011 at 08:45:30AM -0400, Chuck Anderson wrote:
> TrueCrypt and many other full disk encryption packages cannot tell the
> drive which sectors are actually free (and hence maintain them as
> zeroed sectors on the SSD) because they don't support TRIM.  Many of
> the packages don't want to support TRIM because it would leak
> information about the encrypted disk to a potential attacker.  That's
> pretty much it in a nutshell.

Here is a patch to add discard (TRIM) support to Linux dm-crypt (used
by cryptsetup-luks).  This will be in Linux 3.1:;a=commitdiff;h=772ae5f54d69c38a5e3c4352c5fdbdaff141af21

Note the WARNING in the documentation.

This support is already included in the latest Fedora rawhide (what
will become Fedora 17) kernels.

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /