Bug#690977: partman-auto: Add a way to add "discard" option to filesystems
[Martin Pitt]
> Ah, I only tried with a non-system partition with "cryptsetup
> luksOpen", where it is indeed --allow-discards. (I don't use
> crypttab myself). I found "allow-discards" in
> http://blog.christophersmart.com/2013/06/05/trim-on-lvm-on-luks-on-ssd/
> but I guess I'd rather trust the manpage. Easy enough for someone to
> try out who actually uses crypttab :-)
I checked the scripts in the package using "less $(grep -l discard
$(dpkg -L cryptsetup) )", and it is definitely "discards", not
"allow-discards" in /etc/crypttab for Wheezy.
--
Happy hacking
Petter Reinholdtsen
Reply to: