From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NNv4w-0001iZ-CT for mharc-grub-devel@gnu.org; Thu, 24 Dec 2009 16:18:38 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNv4u-0001gU-Le for grub-devel@gnu.org; Thu, 24 Dec 2009 16:18:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNv4q-0001aI-Po for grub-devel@gnu.org; Thu, 24 Dec 2009 16:18:36 -0500 Received: from [199.232.76.173] (port=34926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNv4q-0001a6-Kb for grub-devel@gnu.org; Thu, 24 Dec 2009 16:18:32 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:45725 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 1NNv4q-00022I-6E for grub-devel@gnu.org; Thu, 24 Dec 2009 16:18:32 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NNv4o-0008TB-2b for grub-devel@gnu.org; Thu, 24 Dec 2009 22:18:31 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NNv4l-0003D5-Bz for grub-devel@gnu.org; Thu, 24 Dec 2009 22:18:27 +0100 Date: Thu, 24 Dec 2009 22:18:27 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091224211827.GH12122@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091210081252.GI6439@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, 24 Dec 2009 21:18:37 -0000 On Thu, Dec 10, 2009 at 08:12:52AM +0000, Colin Watson wrote: > On Thu, Dec 10, 2009 at 01:55:27AM +0100, Robert Millan wrote: > > On Wed, Dec 09, 2009 at 11:04:43PM +0000, Colin Watson wrote: > > > I'm trying to figure out how to make Debian's grub-installer operate > > > without a device.map; it has various legacy bits and pieces that need > > > conversion, and I'm working on these. > > > > > > Along the way, though, I noticed that grub-install still unconditionally > > > creates a device.map. This seems likely to become confusing if devices > > > are changing around a lot, since it's never updated. I'd like to get to > > > the point where it doesn't do this by default. How about we add support > > > for an option to disable this, and make grub-installer and the Debian > > > maintainer scripts pass it once they're ready? Some time later, we can > > > flip the default value. > > > > Why is this option necessary? If we removed automated generation of > > device.map, user can still call grub-mkdevicemap manually. > > Certainly, but I would like to be able to deliver a system that does not > generate a device.map by default. We don't need a new option for that. We'd just not generate device.map at all, and provide grub-mkdevicemap for users who want to mess with it. > 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. -- Robert Millan "Be the change you want to see in the world" -- Gandhi