From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NZJIK-0007xB-C2 for mharc-grub-devel@gnu.org; Mon, 25 Jan 2010 02:23:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZJII-0007vN-6o for grub-devel@gnu.org; Mon, 25 Jan 2010 02:23:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZJID-0007ql-4O for grub-devel@gnu.org; Mon, 25 Jan 2010 02:23:29 -0500 Received: from [199.232.76.173] (port=50503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZJID-0007qW-0C for grub-devel@gnu.org; Mon, 25 Jan 2010 02:23:25 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:46604 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZJIC-0001LZ-KI for grub-devel@gnu.org; Mon, 25 Jan 2010 02:23:24 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NZJIA-0006oo-Ms for grub-devel@gnu.org; Mon, 25 Jan 2010 08:23:22 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NZJI9-0003Xk-Ui for grub-devel@gnu.org; Mon, 25 Jan 2010 08:23:21 +0100 Date: Mon, 25 Jan 2010 08:23:21 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20100125072321.GA13584@thorin> References: <20090817140657.GP32551@thorin> <20100122165300.GA14428@thorin> <4B59E869.700@gmail.com> <20100124204118.GA10054@thorin> <4B5CB9B1.5040206@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B5CB9B1.5040206@gmail.com> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] nested partitions X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Mon, 25 Jan 2010 07:23:30 -0000 On Sun, Jan 24, 2010 at 10:20:49PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > With this approach, the burden is no longer in GRUB. Then I don't care > > how weird disk layouts can become, because GRUB doesn't have to probe > > them. > We still have to for partition_iterate. partition_iterate itself is no problem. I mean, even probing itself isn't, as long as we don't promise that any of it actually works. Accessing unknown partition label as "hd0,1" implies we know the label type via probing; other facilities that use probing don't necessarily imply that. For example, GRUB could do: grub> ls (hd0) Possible msdos label: 1 2 3 Possible gpt label: 1 2 etc. -- Robert Millan "Be the change you want to see in the world" -- Gandhi