From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 22 Mar 2011 19:47:44 +0100 (CET) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q26cI-0000Zg-4G for dm-crypt@saout.de; Tue, 22 Mar 2011 19:47:42 +0100 Received: from p5796bef7.dip.t-dialin.net ([87.150.190.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2011 19:47:42 +0100 Received: from rudolf.deilmann by p5796bef7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Mar 2011 19:47:42 +0100 From: Rudolf Deilmann Date: Tue, 22 Mar 2011 19:47:25 +0100 Message-ID: <20110322194725.3b104ed5@gmail.com> References: <4D7E53E5.3040007@redhat.com> <20110314221329.19d588ea@gmail.com> <4D87973E.1090300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0-rc1 (test release candidate) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Mon, 21 Mar 2011 19:21:50 +0100 Milan Broz wrote: > I added offset support, seems loopAES always uses offset==skip > (IOW initial vector is always related to absolute sector size on the > device). No, loopAES supports both options. It depends on user input: -- -o offset The data start is moved offset bytes into the specified file or device. Normally offset is included in IV (initialization vector) computations. If offset is prefixed with @ character, then offset is not included in IV computations. @ prefix functionality may not be supported on some older kernels and/or loop drivers. -- Both options seems to be supported by dmcrypt/dmsetup. In the first case IV offset is always identic to the sector offset, in the second case IV offset is always zero. (IV offset: 6th value at dmsetup table, sector offset: 8th value. I hope, I haven't muddle something ) > I do not plan to add sizelimit option, this can just cause confusion. > > (In fact you can do that using cryptsetup resize command afterwards > or by limiting underlying device. If it is problem, please show me > real example where it is needed.) Sounds reasonable. It's main usage seems to be recovery if your partition table is damaged or similar exceptional things happend.