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

Re: no /dev/dsp Continued



Lance Hoffmeyer (lanceh@ibm.net) wrote:

> 06:19:14 Buddha: /dev > ls audio
> crw-rw----   1 root     audio     14,   4 Sep 13 20:33 audio
> 06:19:37 Buddha: /dev > ls mixer
> crw-rw----   1 root     audio     14,   0 Sep 13 20:33 mixer
> 06:19:43 Buddha: /dev > ls dsp
> crw-rw----   1 root     audio     14,   3 Sep 13 20:33 dsp
> 
> Do these file sizes look kind of small?  

These are not regular files; they're device files.  So you aren't seeing
a size -- you're seeing a major and a minor number.  (E.g., "/dev/audio"
has a major number of 14 and a minor number of 4.)  These numbers are
used internally by the kernel.

The 'c' in the first column means that this is a character device file
(as opposed to a 'b'lock device file).

-- 
Greg Wooledge                    | Distributed.NET http://www.distributed.net/
wooledge@kellnet.com             | because a CPU is a terrible thing to waste.
http://www.kellnet.com/wooledge/ |

Attachment: pgp7PcuCbLxsr.pgp
Description: PGP signature


Reply to: