Re: how to implement own /proc file

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

 



sounak chakraborty wrote:
dear sir
can i make my own /proc file through which i can communicate with the kernel.
if yes then what is the procedure to do that
any reference
sounak

Hello,

sure you can. Thats what the proc-filesystem was made for. Take a look at http://www.tldp.org/LDP/lkmpg/2.6/html/index.html Chapter 6. There is described how to use a proc-file for input in your source.


tschau


Sascha Effert

--
Being evil means it can be christmas every day.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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