Re: /dev/sndstat

Martynas Kunigelis (martynas@nm3.ktu.lt)
Mon, 01 Dec 1997 17:41:26 +0200


H. Peter Anvin wrote:
>
> >
> > Hi fellows,
> >
> > is their any arguement for /dev/sndstat bein in the /dev/directory ?
> > In my opinion this is absolutely wrong there and should be put in
> > /proc, maybe as /proc/sound. sndstat is not a device driver, itīs a
> > status output and as such it has no place in /dev/ ...
> >
> > Am I completely wrong with that?
> > Write some of your opinions, please..
> >
>
> Yes, it's a device node and not a /proc filesystem entry. The reason
> is to maximize the portability of the OSS code (they make money
> selling it for other Unix variants...)
>

What about moving it to /proc/sound and creating a symbolic link
/dev/sndstat -> /proc/sound for backwards compatibility? I think
/proc/sound is much more elegant.

Martynas