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

Bug#690977: partman-auto: Add a way to add "discard" option to filesystems



Petter Reinholdtsen [2013-12-13 13:45 +0100]:
> > That's "allow-discards" for the record.
> 
> If that is the case, the crypttab(5) manual page is wrong in the
> cryptsetup version 2:1.4.3-4 package.
> 
> <URL: http://bugs.debian.org/648868 > agree with you, while
> <URL: http://wilmer.gaa.st/blog/archives/72-Debian,-dmcrypt-and-SSD-TRIMming.html >
> agree with the manual page.  Not quite sure who to believe. :)

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 :-)

Thanks for pointing out!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


Reply to: