Monolithic vs Modular Kernel?

Roland Smith rsmith at xs4all.nl
Thu Dec 10 20:12:00 UTC 2009


On Thu, Dec 10, 2009 at 09:39:03AM +0200, David Naylor wrote:
<snip>
> Also, is there anyway to detect if there are hardware without drivers (such as 
> a sound card without any snd_ loaded) and to detect the type of device (e.g. 
> network, usb, sound, graphics)?

pciconf -lv|less

Every device name (the lines with the @ in them) that starts with 'none' does
not have a driver loaded. The following lines show you what kind of device it is.

> Lastly, is there any way to determine what 'modules' a kernel is build with?

ls /boot/kernel/

All the files that end in .ko are loadable modules.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091210/abe220a6/attachment.pgp


More information about the freebsd-questions mailing list