From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1W7JAc-0004ZU-5j for mharc-grub-devel@gnu.org; Sun, 26 Jan 2014 01:26:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7JAS-0004ZO-L3 for grub-devel@gnu.org; Sun, 26 Jan 2014 01:26:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7JAK-00022J-7q for grub-devel@gnu.org; Sun, 26 Jan 2014 01:26:04 -0500 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:43379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7JAK-00022B-0u for grub-devel@gnu.org; Sun, 26 Jan 2014 01:25:56 -0500 Received: by mail-la0-f44.google.com with SMTP id hm7so3681145lab.31 for ; Sat, 25 Jan 2014 22:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=7FUcC4VYOMvEpWpZKGbNqsAES/PS4s5InUcCoLcmw74=; b=C6HIRT2vpAt4vkcz3OkJl6BHcu1s3CjyLnY8YHxd5GIN3bL5V3NU3Jpkp9aVVEbS6+ E2x4g441H9gxFcHwEtl744t6nW/Hy4na+7KAKbdXj4ArHRGYe9llzvaWNzBRAsM0npb7 QVffP+X3I6Y1UJSZRrkqRpSDXMDFRYz2FkKmGKx6II0eiYsWO7yshwUDSrecENsTtCew +CCiiszuWpZpHsiIqexn3oGkyu+pOzwgsghpFC2Cmhh6WgxYTcPoOiWzsknwJFV1xF+c XRxZqVZNk6zmf6938GIap0wDX0pkSfSx5HZJgdXSOmxHcRuqIfX8uznAHs0TEYj3NNBE e5LQ== X-Received: by 10.153.0.33 with SMTP id av1mr8660724lad.14.1390717554979; Sat, 25 Jan 2014 22:25:54 -0800 (PST) Received: from opensuse.site (ppp91-76-154-95.pppoe.mtu-net.ru. [91.76.154.95]) by mx.google.com with ESMTPSA id cu8sm7325656lbb.12.2014.01.25.22.25.54 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 25 Jan 2014 22:25:54 -0800 (PST) Date: Sun, 26 Jan 2014 10:25:53 +0400 From: Andrey Borzenkov To: Mike Gilbert Subject: Re: [PATCH] grub-install: Improve support for partitioned loop devices. Message-ID: <20140126102553.3ad59420@opensuse.site> In-Reply-To: References: <1390700460-30725-1-git-send-email-floppym@gentoo.org> <20140126091653.727f82e4@opensuse.site> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22c Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jan 2014 06:26:13 -0000 В Sun, 26 Jan 2014 01:20:09 -0500 Mike Gilbert пишет: > On Sun, Jan 26, 2014 at 12:16 AM, Andrey Borzenkov wrote: > > В Sat, 25 Jan 2014 20:41:00 -0500 > > Mike Gilbert пишет: > > > >> * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect > >> /dev/loopX as being the parent of /dev/loopXpY. > > > > Those devices are normally device-mapper ones (created by kpartx) and > > grub already detects parent by following device-mapper tree. What > > exact problem are you trying to solve? > > The kernel supports partitioned loop devices without device mapper. > These can be set up using losetup -P, or by calling partx from > util-linux. Thank you, was not aware of it.