Re: Identifying kernel module from maj:min numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux