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

Re: connection between kernel module to a /dev files



On Mon, Jul 16, 2001 at 12:13:32PM +0200, Moshe Ashkenazi wrote:
> I'm trying to find what device in /dev each kernel module is using 
> I will appreciate any help.

I don't think you can know at a given moment which module registered
which device, but you can get a list of device names, major numbers and
minor numbers from the kernel's source - in the file
Documentation/devices.txt.

You can also get some idea from /proc/devices -- which reflects
registered devfs names. Those names aren't necessarily the module names
though.

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il