Identifying kernel module from maj:min numbers

Yuvaraj yuvaeasy at gmail.com
Wed Jul 10 06:25:44 EDT 2013


Prabhunath G <gprabhunath <at> gmail.com> writes:

> 
> 
> 
> Dear All,
>         Is there a mechanism to identify a driver module (assume that 
driver is loaded dynamically by insmod) by knowing a major number and minor 
number through sysfs. 
> Thanks,Prabhu
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies <at> kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 


Dear Prabhu,

The following files could give the information that you have wanted.

In the procfs

/proc/devices

In the sysfs

/sys/dev/char/ or /sys/dev/block/


Regards,
Yuvaraj.A








More information about the Kernelnewbies mailing list