Each device has a type (block or character) and a major and minor node
number associated with it, which you can see by doing ls -l.  Browsing
through the kernel source can tell you which driver hooks to which
device.  However, you can look at /proc/devices and see all the major
device numbers supported by your system.   For example, mine says:

crw-------    1 torriem  root      14,   3 Jan 30  2003 /dev/dsp

Character device, major number 14, minor number 3.

Checking with /proc/devices, I see:
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
 36 netlink
116 alsa
128 ptm
136 pts
162 raw
171 ieee1394
180 usb


So dsp is associated with the sound device.

Hope that gives you a start.

Michael


On Wed, 2003-10-29 at 08:43, Michael Ryan Byrd wrote:
> So I go into /dev and I do an "ls" and I see a quadtrillion devices. Is there a
> list somewhere that defines what each of these devices are?
> 
> here's the output from that "ls": 
> http://www.ryan[remove this]byrd.net/devices.txt
> 
> 
> MRB
> 
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Michael L Torrie <[EMAIL PROTECTED]>

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to