[Gllug] How to check if module is in kernel ?
salsaman at xs4all.nl
salsaman at xs4all.nl
Sun Nov 14 23:34:49 UTC 2010
On Mon, November 15, 2010 00:03, salsaman at xs4all.nl wrote:
> On Sun, November 14, 2010 23:53, John Hearns wrote:
>> 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 ?
>>
>>
>> /proc/config.gz contains the kernel configuration for the running
>> kernel.
>> Is that any use?
>> --
>> Gllug mailing list - Gllug at gllug.org.uk
>> http://lists.gllug.org.uk/mailman/listinfo/gllug
>>
>>
>
> i don't have that file on my system (ubuntu 10.10)
>
> Salsaman.
>
>
OK, I found the ubuntu equivalent in /boot/config-`uname -r`.
Is this standard on other distros now, or just ubuntu ?
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