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

salsaman at xs4all.nl salsaman at xs4all.nl
Sun Nov 14 21:44:53 UTC 2010


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.



Salsaman.


> On 14/11/10 21:18, salsaman at xs4all.nl wrote:
>> Hi, I am currently working on a plugin which uses vloopback. Vloopback
>> can
>> be either installed as a module or compiled directly into the kernel.
>>
>> If it is a module, it is easy to check for its presence with lsmod |
>> grep
>> vloopback. However, this will fail if the module is compiled into the
>> kernel. Is there some way to check for this in linux ?
>>
>> Regards,
>> Salsaman.
>>
>>
>>
>
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
>


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list