From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gDWkb5hWAyT1 for ; Sun, 30 Jun 2013 13:44:48 +0200 (CEST) Received: from mout.web.de (mout.web.de [212.227.17.11]) by mail.saout.de (Postfix) with ESMTP for ; Sun, 30 Jun 2013 13:44:48 +0200 (CEST) Message-ID: <51D01A2E.5080305@web.de> Date: Sun, 30 Jun 2013 13:44:46 +0200 From: Jan Janssen MIME-Version: 1.0 References: <51C2D38C.5030203@web.de> <51C332C2.1000900@gmail.com> <1468118.MD1b3jT5q3@brinja> <51C71539.7020203@gmail.com> <51C76342.6070401@web.de> <51C7DDBC.9080107@gmail.com> <51C84FC4.3040104@web.de> <51CFF624.5080303@gmail.com> In-Reply-To: <51CFF624.5080303@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Truecrypt system partition support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Milan Broz Cc: dm-crypt@saout.de On 06/30/2013 11:11 AM, Milan Broz wrote: > On 06/24/2013 03:55 PM, Jan Janssen wrote: > >> Still can't open it >> >> # sudo cryptsetup --tcrypt-system tcryptOpen /dev/sda windows >> device-mapper: reload ioctl on failed: Invalid argument >> >> The journal has some additional information: >> kernel: device-mapper: table: 254:1: crypt: Device lookup failed >> kernel: device-mapper: ioctl: error adding target to table > > Hi, > > please can you try current git version? > > I had to change logic and use map to partition instead > the whole device (because kernel will not allow such mapping). > > (I am usually using images on disk for testing so that's why I did not > found this problem before - for loop and DM devices it worked.) > > Thanks, > Milan > Hi, it's working now. yay! I'll see if I can make the cryptsetup logic of systemd support tcrypt now. Hopefully, it'll give you some more hamsters to test the code :D Thanks, Jan