grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Dynamic device.map


From: Robert Millan
Subject: Re: [RFC] Dynamic device.map
Date: Sat, 26 Dec 2009 23:01:44 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]