On Sun, Jul 23, 2006 at 01:08:56PM +0400, Brad Campbell wrote:
> Dirk Tilger wrote:
> >
> >
> > I wonder if anyone of you has an idea of how I get these two concepts
> > merged. I want to have all the device nodes in /dev for which the kernel
> > could load a module, but it should only load it when it is needed.
>
> I guess to look at this from another perspective.. if you don't have the
> ide-cd module loaded in the
> 1st place.. how does the kernel know you need the device?
I access /dev/cdrom and it points to a major/minor combination listed in
some table. The kernel realises that it doesn't have a driver for that
major/minor combination and loads it from a lookup table (symbols.map
or something).
> The kernel knows what it has drivers for, and just tries to load a
> driver for every piece of hardware it can see as soon as it can see
> it.. which I think is pretty logical.
Hmmm. I mount my swimdress when I want to go swimming, not when I see
the water. Can't a kernel do it similarly?
Dirk.
--
There are two major products that come from Berkeley : LSD and UNIX.
We don't believe this to be a coincidence. (Jeremy S. Anderson)
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/dubailug/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/