From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NSYfE-000857-6G for mharc-grub-devel@gnu.org; Wed, 06 Jan 2010 11:23:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSYfB-00083l-Lh for grub-devel@gnu.org; Wed, 06 Jan 2010 11:23:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSYf6-00081U-AK for grub-devel@gnu.org; Wed, 06 Jan 2010 11:23:12 -0500 Received: from [199.232.76.173] (port=50502 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSYf6-00081R-33 for grub-devel@gnu.org; Wed, 06 Jan 2010 11:23:08 -0500 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:36179) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSYf5-0006P4-Qx for grub-devel@gnu.org; Wed, 06 Jan 2010 11:23:08 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1NSYf2-0000Zk-PT for grub-devel@gnu.org; Wed, 06 Jan 2010 16:23:06 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1NSYJ5-0007dW-00; Wed, 06 Jan 2010 16:00:23 +0000 Date: Wed, 6 Jan 2010 16:00:23 +0000 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20100106160023.GS5847@riva.ucam.org> References: <20091207142806.GB6439@riva.ucam.org> <20091207172522.GA31361@riva.ucam.org> <20091209214915.GF7093@thorin> <20091209230443.GH6439@riva.ucam.org> <20091210005527.GB15546@thorin> <20091210081252.GI6439@riva.ucam.org> <20091224211827.GH12122@thorin> <20091226132551.GA20730@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091226132551.GA20730@thorin> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [RFC] Dynamic device.map 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: Wed, 06 Jan 2010 16:23:14 -0000 On Sat, Dec 26, 2009 at 02:25:51PM +0100, Robert Millan wrote: > On Thu, Dec 24, 2009 at 10:18:27PM +0100, Robert Millan wrote: > > Colin Watson wrote: > > > No, I don't think we will. grub-probe is perfectly capable of mapping > > > /dev/sda1 to (hd0,1) even without device.map; > > > > I wasn't very fond of this because it's BIOS-specific. But I guess we can > > live with it. > > On second thought, I'm really not convinced we need this kind of logic. It > seems a lot like a workaround. > > Just leave it with (/dev/foo). You mean literally with the parentheses? I don't understand, since /dev/ names will be unintelligible to GRUB when running outside an operating system. > If you remove device.map generation from grub-install, you can remove > the backward compatibility hack while at it. Which backward compatibility hack? > In the future, we can rely on the initial value of $root as well, but this > would require some rework (disk / partition split). Would you mind elaborating on this? I would like to get this sorted out and am willing to work on it. Sorry to be stupid, -- Colin Watson [cjwatson@ubuntu.com]