[systemd-devel] [PATCH] Recognize discard option in /etc/crypttab

Michael Stapelberg stapelberg at debian.org
Fri Aug 9 11:37:52 PDT 2013


Hi,

forwarding this patch we received in the Debian bugtracker.

systemd-cryptsetup recognizes option 'allow-discards' in /etc/crypttab
to enable TRIM passthrough to underlying encrypted device. In Debian
this option was changed to 'discard' to avoid hyphen in option name
(see: #648868 and `man crypttab`).

The attached patch makes “discard” a synonym for “allow-discards” in
/etc/crypttab. Please merge it.

-- 
Best regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Recognize-discard-option-in-etc-crypttab.patch
Type: text/x-diff
Size: 964 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130809/4d6e08e8/attachment.patch>


More information about the systemd-devel mailing list