Re: is a user space process capable of generating a /proc filesystem entry?

Adam D. Bradley (artdodge@cs.bu.edu)
Mon, 3 Nov 1997 18:56:05 -0500 (EST)


> I would lilke to have something like /proc/optisafe which
> could be used to view modify these parameters from the
> command line.
>
> I know you can make kernel device drivers which generate /proc
> filesystem entries such as /proc/cmdline but since the OptiSAFE
> device driver would need access to the serial port communications
> I guess it would rightly belong in user space in which case I
> don't know if you can generate a proc entry.

Hmm... this might be a good candidate for a named pipe,
"/dev/optisafe", in the style of "/dev/lp" and "/dev/initctl". Unless
someone wants to patch proc so it can support such a beastie.
Shouldn't be that hard, really...?

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  ---->  <><