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

Paul Jakma (paul@clubi.ie)
Fri, 18 Jun 1999 10:53:56 +0100


> Now what do you about dynamic devices handled by the same driver: eg
> hot-plug buses like usb, firewire?? Do you propose that the complete
> driver module should have to be loaded/unloaded every time the user
> (un)plugs a device onto/off the bus?

Absolutely. PCMCIA has done that for years.

so? What does that have to do with anything? The issue is /dev.. nothing
else. In the pcmcia case every card will have it's own driver to be
loaded/unloaded. So it works. But it's still not clean: what about
multiple "hot" devices handled by one driver? How do you handle all the
different kinds of scenarios cleanly without something like devfs?

"dynamic devices" means something different in the Linux universe than
"hotpluggable devices." "dynamic devices" are those whose device
numbers move around.

please, stop throwing up strawman arguments every time and conveniently
ignoring the real issues.. What does the above have to do with what
we're talking about? In the context of this thread it's quite obvious
we're talking about device nodes that may or may not be present, and
whether a virtual dynamic /dev would be a good thing.

Whether the device numbers themselves are dynamic is transparent to
devfs, and you know it. In fact imo you need a virtual /dev to handle
dynamic device numbers cleanly.

-paul.

-
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/