From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 11 Feb 2016 06:09:11 +0100 (CET) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTjV5-0002Wy-Fw for dm-crypt@saout.de; Thu, 11 Feb 2016 06:09:07 +0100 Received: from c-50-158-72-35.hsd1.il.comcast.net ([50.158.72.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 06:09:07 +0100 Received: from rnicholsNOSPAM by c-50-158-72-35.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 06:09:07 +0100 From: Robert Nichols Date: Wed, 10 Feb 2016 23:09:00 -0600 Message-ID: References: <56B20C05.7080307@gmail.com> <56B90DDD.1080107@gmail.com> <56BA6353.7080207@tu-ilmenau.de> <20160209233532.GB21086@tansi.org> <56BAF6B5.4060300@gmail.com> <56BB3FC0.5020409@whgl.uni-frankfurt.de> <56BB5294.8040407@whgl.uni-frankfurt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <56BB5294.8040407@whgl.uni-frankfurt.de> Subject: Re: [dm-crypt] The future of disk encryption with LUKS2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 02/10/2016 09:09 AM, Sven Eschenberg wrote: > Actually PARTUUID should have read PARTTYPE-GUID - So there's no reason > why moving it to a different partition should not work, updating the > PARTTYPE is a trivial step and part of a proper moving operation anyway. > > Just imagine the network's linklayer had no idea which upper layer to > call, because there's no information on that. TCP/IP again does not have > that type of information. So, what is it that I shouldn't (or won't in the future) be able to do, because I'm used to being able to copy a LUKS container freely among LVM logical volumes, physical partitions, and image files using commands like "dd if=/dev/mapper/vg00-lv00 of=/var/tmp/xx.img" and "dd if=/var/tmp/xx.img of=/dev/sdb2" and being able to luksOpen the LV, partition, or loop device set up on the file. Just what constitutes a "proper moving operation"? And just where is this "PARTTYPE" stored? There doesn't appear to be any such field in the current LUKS on-disk format. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it.