Linux Find Out Kernel Module (Device Driver) Version Number

ht‮ww//:spt‬w.lautturi.com
Linux Find Out Kernel Module (Device Driver) Version Number

To find out the version number of a kernel module (device driver) on a Linux system, you can use the modinfo command. modinfo is a utility that displays information about a loaded kernel module.

Here's an example of how to use modinfo to display the version number of a kernel module:

$ modinfo <module_name>

Replace <module_name> with the name of the kernel module. For example:

$ modinfo scsi_mod

This will display information about the scsi_mod kernel module, including the version number.

You can also use the lsmod command to list the loaded kernel modules and their version numbers. For example:

$ lsmod | grep <module_name>

Replace <module_name> with the name of the kernel module.

Note: The specific options and syntax for these commands may vary depending on your Linux distribution and version. Consult the modinfo and lsmod man pages or documentation for your system for more information.

It's also important to note that the version number of a kernel module may not always be relevant or meaningful. Some kernel modules may not have version numbers, or the version number may not be used in a consistent or standardized way. Consult the documentation or source code of the kernel module for more information.

Created Time:2017-10-29 22:08:54  Author:lautturi