From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NOehx-0007QI-6q for mharc-grub-devel@gnu.org; Sat, 26 Dec 2009 17:01:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOehv-0007N1-50 for grub-devel@gnu.org; Sat, 26 Dec 2009 17:01:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOehp-0007ES-RU for grub-devel@gnu.org; Sat, 26 Dec 2009 17:01:54 -0500 Received: from [199.232.76.173] (port=40491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOehp-0007E5-K7 for grub-devel@gnu.org; Sat, 26 Dec 2009 17:01:49 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:56210 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 1NOeho-0007pm-QY for grub-devel@gnu.org; Sat, 26 Dec 2009 17:01:49 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NOehl-0006y0-S5; Sat, 26 Dec 2009 23:01:46 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NOehl-0006Ww-25; Sat, 26 Dec 2009 23:01:45 +0100 Date: Sat, 26 Dec 2009 23:01:44 +0100 From: Robert Millan To: David Miller Message-ID: <20091226220144.GA25069@thorin> References: <20091210081252.GI6439@riva.ucam.org> <20091224211827.GH12122@thorin> <20091226132551.GA20730@thorin> <20091226.133714.179914453.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091226.133714.179914453.davem@davemloft.net> 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) Cc: grub-devel@gnu.org 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: Sat, 26 Dec 2009 22:01:55 -0000 On Sat, Dec 26, 2009 at 01:37:14PM -0800, David Miller wrote: > From: Robert Millan > Date: Sat, 26 Dec 2009 14:25:51 +0100 > > > Then we rely only on UUIDs. > > This is exactly what I suggested we should avoid. > > On OpenFirmware we scan every device alias, %80 of them point to > non-existing devices. The aliases are just an enumeration of > the set of devices that could be behind a controller, not what > has actually been detected by the firmware or anything like > that. > > So every scan for a UUID can eat up an enormous amount of time, > poking devices that simply are not there. I understand. It's not a good idea to use UUIDs exclussively even outside the context of OpenFirmware. This is why I also said: > In the future, we can rely on the initial value of $root as well, but this > would require some rework (disk / partition split). I'm fine with delaying removal of devices.map untill this replacement is ready. -- Robert Millan "Be the change you want to see in the world" -- Gandhi