[Ma-linux] kernel driver to device mapping
Joseph S D Yao
jsdy at tux.org
Fri Jun 12 16:49:04 EDT 2009
On Fri, Jun 12, 2009 at 03:53:58PM -0400, Przemek Klosowski wrote:
> >
> > What is the simplest way to list the association between the /dev
> > nodes and kernel driver modules?
>
> Przemek, did you get an answer to this? I was curious to hear about any
> other techniques, as I've always had to rely on (and be at the mercy of) the
> output of modules in dmesg.
>
> Nope, it's an open challenge :)
What do you see when you run 'more /proc/devices'?
Less usefully, since it duplicates 'ls -lR /dev', what do you see when
you 'ls -l /dev/block /sys/dev/char' or 'ls -l /dev/block /dev/char'?
I ask rather than state because I have not been following the variances
among Linux distributions. In particular, /dev/block and /dev/char may
only exist on Debian variants, or maybe even only on Ubuntu.
--
/*********************************************************************\
**
** Joe Yao jsdy at tux.org - Joseph S. D. Yao
**
\*********************************************************************/
More information about the Ma-linux
mailing list