No, that breaks portability (consider platforms with no /proc fs, or
one that doesn't support text-file-like /proc entries). Doing it the
other way around, however (/proc/sndstat -> /dev/sndstat) would be
simple to implement and wouldn't require any modifications to the
sound driver. Personally, I don't think it's worth the effort.
(Plus, that would be policy implemented in kernel-space. Once again,
a layering filesystem could allow some more elegant approaches...
which is #5 on my list of "huge fun projects I wish I had time to
implement"...)
Adam
-- Things look so bad everywhere Adam D. Bradley artdodge@cs.bu.edu In this whole world what is fair Boston University Computer Science We walk blind and we try to see Ph.D. student and Linux hacker Falling behind in what could be ----> Bring me a Higher Love ----> <><