lkml.org 
[lkml]   [1997]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: is a user space process capable of generating a /proc filesystem entry?

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


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.093 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site