Re: How does create an entry under /proc/pid using module?

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

 



Mauricio,

> Mauricio Lin <mauriciolin2000@xxxxxxxxxxxx> [2004-12-21 14:38]:
>
> Does anyone know how can I create a new entry in /proc/pid_number
> through procfs module?
>

create_proc_entry()?

> I would like to add process related entry in /proc/pid_number but i
> wonder what is the best way to do that. Any idea?

What kind of process related data?  Have you checked the discussions
on procfs vs. sysfs?

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|

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