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

salsaman at xs4all.nl salsaman at xs4all.nl
Mon Nov 15 21:06:53 UTC 2010


On Mon, November 15, 2010 18:17, Jon Masters wrote:
> On Mon, 2010-11-15 at 16:54 +0100, salsaman at xs4all.nl wrote:
>> On Mon, November 15, 2010 15:33, Richard Jones wrote:
>> > On Mon, Nov 15, 2010 at 12:57:44PM +0100, salsaman at xs4all.nl wrote:
>> >> What about looking in /proc/kallsyms ? Is that standard ?
>> >
>> > No.  It can be configured out of the kernel, and a number of small
>> > distros do this because it adds considerable overhead.
>> >
>> > What is wrong with doing this the right way, like I said in my
>> > previous email?
>> >
>>
>> There is nothing I can see in /proc or /sys.
>
> Do you see anything in the /sys/module directory?
>
> Jon.
>

Yes, sure, I see vloopback in there, but the original question was how to
tell if it was compiled into the kernel. If it's built as a module I can
just use lsmod and grep of course.


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