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

James Courtier-Dutton james.dutton at gmail.com
Mon Nov 15 00:14:19 UTC 2010


On 14 November 2010 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 ?
>

I have not used vloopback, but as modules initialise they normally
output at least one line to the kernel log.
So, look in "dmesg".
Another option is to simply see if the needed files in /dev are present.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list