On Mon, Dec 01, 2003 at 10:49:37AM +1300, Rex Johnston wrote:
> Jim Cheetham wrote:
> >I've got a couple of kernel-related questions ...
> >
> >In a server environment, for drivers that are not essential for booting
> >(i.e. scsi or ide), do you think kernel modules are preferable to
> >built-in drivers?
Built-in drivers are (very slightly) faster than modules.
> Yes, you can load/unload/rebuild them on the fly.
Unloading modules is very unsafe. If you take a look at the 2.6 series
kernels, allowing module unloading is an option (and is off by default).
> >How can I discover the drivers present in a running kernel?
> lsmod & dmesg
lsmod will only tell you what modules you've loaded. dmesg will only
tell you what drivers your kernel supports (either with a built-in
driver or a module) and has detected hardware for, but doesn't tell you
anything about drivers you've got built-in or loaded that has no
corresponding hardware.
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]