tech-kern archive

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

Re: (Semi-random) thoughts on device tree structure and devfs

On Mon, Mar 08, 2010 at 12:34:23PM -0700, Ted Lemon wrote:
> On Mar 8, 2010, at 12:47 AM, Masao Uebayashi wrote:
> > How do you write a kernel config which can always identify my USB disk as
> > sd0a, even if I plug random devices?
> You'd need to put the UUID in the kernel config.

I'd go further and say that we should be able to supply a set of device
properties (such as drvctl -p prints) to the kernel.  Let us match a
device by its intrinsic properties (MAC address, serial number, and/or
GUID), and set the unit number according to the device property.

Quentin is right that this *only* helps us to fix the unit number, but I
think that in itself is an important, *feasible* step forward.


David Young             OJC Technologies      Urbana, IL * (217) 278-3933

Home | Main Index | Thread Index | Old Index