LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Getting version of inserted module (https://www.linuxquestions.org/questions/linux-general-1/getting-version-of-inserted-module-719438/)

pgb205 04-15-2009 07:38 PM

Getting version of inserted module
 
I know of modinfo l <module_name> |grep -i ver, but is it certain to give me version of the module that is currently loaded or is there a chance that i might get a version of a module compiled for a different kernel.?

hurry_hui 04-15-2009 08:46 PM

I am not sure with your question. However, to get version of currently loaded module as to which kernel it is compiled against you can check with
Code:

modinfo [nameofmodule] | grep -i vermagic
. CMIIW.


All times are GMT -5. The time now is 09:05 AM.