LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how to get the builtin module information (https://www.linuxquestions.org/questions/linux-kernel-70/how-to-get-the-builtin-module-information-910197/)

Andy Tian 10-26-2011 02:17 AM

how to get the builtin module information
 
After the system is up, how to know a module(for example:ehci-hcd) is a built-in module? how to get the names for all built-in modules? where and how to check the information for a built-in module?

Thanks in advance!

kbp 10-26-2011 07:49 AM

Assuming by "built in" you mean came with the current kernel, you could try:

Code:

modinfo <module_name> | grep filename | awk '{ print $2 }' | xargs -I module yum provides "module"

Andy Tian 10-26-2011 10:10 PM

kbp, thanks a lot for the reply.
Is there a command like 'lsmod' to display all the built-in kernel modules?

corp769 10-26-2011 10:27 PM

Hello,

Read here - http://www.thegeekstuff.com/2010/11/...mand-examples/

Cheers,

Josh

Andy Tian 10-27-2011 02:17 AM

Quote:

Originally Posted by corp769 (Post 4509405)

That is what I need, thanks a lot!

corp769 10-27-2011 04:45 AM

No problem! Mark your thread as solved using the thread tools located at the top of the page, and give rep if you would like.

Cheers!

Josh


All times are GMT -5. The time now is 11:13 PM.