writing a module to expose information

Alexandre Courbot gnurou at gmail.com
Sun Mar 6 03:52:07 EST 2011


Hi,

On Sun, Mar 6, 2011 at 1:48 PM, Littlefield, Tyler <tyler at tysdomain.com> wrote:
> I'm curious what or where I might begin writing a module that will allow
> a program to retrieve information from it? Essentially: I need some sort
> of interface through which I can request information and get it returned
> somehow.

Most likely you will want to expose your information through a /proc
or /sys entry. There are plenty of tutorials about how to do this on
the web.

Alex.



More information about the Kernelnewbies mailing list