Re: writing a module to expose information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, Mar 6, 2011 at 1:48 PM, Littlefield, Tyler <tyler@xxxxxxxxxxxxx> 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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux