[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-devel
Subject:    Re: [RFC] Dynamic device.map
From:       Robert Millan <rmh () aybabtu ! com>
Date:       2009-12-26 22:01:44
Message-ID: 20091226220144.GA25069 () thorin
[Download RAW message or body]

On Sat, Dec 26, 2009 at 01:37:14PM -0800, David Miller wrote:
> From: Robert Millan <rmh@aybabtu.com>
> 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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic