[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: connection between kernel module to a /dev files
- To: Moshe Ashkenazi <moshea(at-nospam)checkpoint.com>
- Subject: Re: connection between kernel module to a /dev files
- From: Ilya Konstantinov <linux-il(at-nospam)future.galanet.net>
- Date: Mon, 16 Jul 2001 18:48:45 +0300
- Cc: Linux-Il <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <DHEOJJKMJNKDPHEODBMBCEEICGAA.moshea@checkpoint.com>
- References: <DHEOJJKMJNKDPHEODBMBCEEICGAA.moshea@checkpoint.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.3.19i
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