/proc interface

From: Hagit (hagit_guy_at_hotmail.com)
Date: 01/26/04


Date: 26 Jan 2004 11:55:13 -0800

Hi
I would like to write a module that its only mission is to interface
through the /proc some internal information. The user will be able to
'cat /proc/my_module' and the relevant information will be printed to
the screen. Should my module be written as a caracter device driver,
or could it be just a simple module. Can you send/link me to any
simple example? As I understand, the module should call
create_proc_entry() - Am I right?
What kind of operation should it implement?
Any help will be very helpful
Thanks
Hagit



Relevant Pages

  • Re: /proc interface
    ... Hagit wrote: ... > I would like to write a module that its only mission is to interface ... > through the /proc some internal information. ...
    (comp.os.linux.misc)
  • /proc interface
    ... I would like to write a module that its only mission is to interface ... through the /proc some internal information. ... 'cat /proc/my_module' and the relevant information will be printed to ...
    (comp.os.linux.questions)
  • /proc interface
    ... I would like to write a module that its only mission is to interface ... through the /proc some internal information. ... 'cat /proc/my_module' and the relevant information will be printed to ...
    (comp.os.linux.embedded)
  • /proc interface
    ... I would like to write a module that its only mission is to interface ... through the /proc some internal information. ... 'cat /proc/my_module' and the relevant information will be printed to ...
    (comp.os.linux.misc)