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

Jeff Wiegley (jeff@w3-design.com)
Mon, 03 Nov 1997 13:51:16 -0800


I have a OptiSAFE UPS and it has communication abilities which
allow it to monitor line voltage, battery temperature, line
frequency and such via a serial port.

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.

Can you? powerd doesn't do enough for me but a /proc/OptiSAFE
antry would be perfect.

any ideas/comments would be greatly appreciated.

- Jeff Wiegley