[pkg-cryptsetup-devel] Bug#624828: Bug#624828: cryptsetup ignores --size option

Milan Broz mbroz at redhat.com
Wed May 11 03:59:22 UTC 2011

On 05/10/2011 01:44 AM, Jonas Meurer wrote:
> Hey Milan,
> On 02/05/2011 Milan Broz wrote:
>> On 05/01/2011 11:38 PM, RW Penney wrote:
>>> The '--size' option to cryptsetup is supposed to allow one to choose
>>> a subset of a block device when configuring an encrypted device-mapper target.
>> Hm. This is unintended change when switching to new api (internally),
>> upstream bug. (Moreover that option was not documented properly.)
>> You can workaround it by subsequent "cryptsetup resize" command for now.
>> Anyway, I think this is quite confusing option (you cannot specify start offset,
>> so you can just limit end of device, not the mapped start), for these types
>> of operation is dmsetup more versatile.
> Am I right, that you fixed this bug with a workaround in svn commit 518?


(As FIXME says, I'll extend crypt plain format parameters later
but that will change API - I plan this when removing old API.
So for now workaroud should be enough.)

(Btw do you plan to rebuild 1.3.0 in experimental? Or is there some problems
I do not know about?)


More information about the pkg-cryptsetup-devel mailing list