[Tfug] Determining presence of a kernel feature

Choprboy choprboy at dakotacom.net
Mon Apr 26 16:01:40 MST 2010


On Monday 26 April 2010 15:22, John Morrow wrote:
> I'm trying to determine a deployed kernel has some particular drivers
> compiled in. Is there a way to query the kernel to  determine this? I don't
> have access to the original .config used to build it.
>

Grep the System.map file for the particular kernel driver you want to check, 
or if it is not present and the kernel is currently running, grep the driver 
in /proc/ksyms (or /proc/kallsyms on some systems).


Adrian





More information about the tfug mailing list