Re: UUIDs (and devfs and major/minor numbers)

Stephen Williams (steve@icarus.com)
Fri, 18 Jun 1999 12:02:50 -0700


sfrost@ns.snowman.net said:
> What about dynamic devices? I take it devfs would notify a daemon
> that something new appeared in /devices, and then that daemon would go
> off and create the /dev entry?

I did some driver work under Solaris, which does something like this.
Unfortunately, this turns out to be pretty insane for the driver writer
because if something goes wrong with the load of a device module, the
system crashes while various tables (which are stored on disk by solaris)
are in the midst of update.

This is really very evil, and besides I found it to be a hugely overcomplex
web of configuration files and magic. Please, KISS.

I'm all for fixed symbolic links in /dev to ugly names in /devices, and
let ``ln -s'' deal with the devices that stay put (but maybe can be
autoloaded) and let the rest be dealt with as the problems arise, i.e. by
automount, or vold, or some pcmciad, or whatever.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/