On Wed, Dec 20, 2006 at 10:03:09PM -0600, Kevin Lombardo wrote:
> I have a few quick questions about device drivers. I am using Debian Etch:
> 
> 1. Is there a way to tell which device drivers have been compiled in
> to a pre-built kernel?

Look in /boot/config-`uname -r`

> 2. I see a file called /etc/modules, and there are 4 entries in it:
> 
> ide-cd
> ide-disk
> ide-generic
> psmouse
> 
> Are these simply modular drivers? And are they in this file because
> the kernel *always* loads them, rather than relying on any kind of
> autodetect?

Correct.

> 3. How does the kernel know which other drivers to load? Is it just
> autodetect or is there a configuration file?

Both. For extra configuration files look in /etc/modutils/ .

> 4. If I have a modular driver for an ide disk, and then try booting a
> kernel with an ide driver compiled with it, which driver will be used,
> the compiled in or the modular?

Compiled.

florin

-- 
Bruce Schneier expects the Spanish Inquisition.
      http://geekz.co.uk/schneierfacts/fact/163
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20061220/ede49bb5/attachment.pgp