[Gllug] How to check if module is in kernel ?

Alain Williams addw at phcomp.co.uk
Sun Nov 14 22:27:33 UTC 2010


On Sun, Nov 14, 2010 at 10:44:53PM +0100, salsaman at xs4all.nl wrote:
> On Sun, November 14, 2010 22:22, Steve Parker wrote:
> > I'm sure that there must be a technical way, but whoever supplied your
> > kernel should be able to tell you - if it's RedHat etc, they will have a
> > .config file in the kernel source package.
> >
> 
> I am not talking about my own machine - I know it is compiled in.
> 
> It needs to work for all users and all distros.
> 
> I mean something like sysconf() but which could return other kernel
> capabilities at runtime.

Does it export something in /proc /sys or /dev ??

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list