From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NSzw4-0004P6-Re for mharc-grub-devel@gnu.org; Thu, 07 Jan 2010 16:30:28 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSzw2-0004J7-Cr for grub-devel@gnu.org; Thu, 07 Jan 2010 16:30:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSzvx-00044Q-7F for grub-devel@gnu.org; Thu, 07 Jan 2010 16:30:25 -0500 Received: from [199.232.76.173] (port=35186 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSzvx-000446-1d for grub-devel@gnu.org; Thu, 07 Jan 2010 16:30:21 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:55508 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 1NSzvv-0007Ox-W4 for grub-devel@gnu.org; Thu, 07 Jan 2010 16:30:20 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NSzvm-0001N7-Sl for grub-devel@gnu.org; Thu, 07 Jan 2010 22:30:11 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NSzvm-0006w4-D4 for grub-devel@gnu.org; Thu, 07 Jan 2010 22:30:10 +0100 Date: Thu, 7 Jan 2010 22:30:10 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20100107213010.GE26340@thorin> 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> <20100106160023.GS5847@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100106160023.GS5847@riva.ucam.org> 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: [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: Thu, 07 Jan 2010 21:30:26 -0000 On Wed, Jan 06, 2010 at 04:00:23PM +0000, Colin Watson wrote: > > 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. Yes. This just means we'd have "set root=(/dev/foo)" statements in grub.cfg, but those are just meant as a backward compatibility hack for pre-UUID GRUB installs. Which I guess addresses your next question: > > If you remove device.map generation from grub-install, you can remove > > the backward compatibility hack while at it. > > Which backward compatibility hack? :-) However, notice that after David Miller's remark about Sparc support, it's probably better to: - Keep the backward compatibility hack. - Not remove device.map on Sparc yet (untill a better solution is available) > > 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. Uhm actually I'm not completely sure this would work, as multi-disk setups have multiple values for initial $root. Better just ignore this part ;-) > Sorry to be stupid, Not at all! -- Robert Millan "Be the change you want to see in the world" -- Gandhi