Date: 17 Jun 2004 15:28:47 +0530 From: ravi <ravi.nanjundappa@ap.sony.com> To: hackers@freebsd.org Subject: Regarding procfs in freeBSd Message-ID: <1087466326.5072.5.camel@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
Hi, How to get a pointer to pfs_info structure which points to the /proc directory ? I mean , I want to create a proc entry under /proc . But for this I need to pass an argument struct pfs_info *pi, which contains a member pi_root which inturn points to the /proc's pfs_node How to get this pi_root from pfs_info structure ? Is there any global variable which points to /proc' pfs_node .? That is .. I want to create my own proc entry under /proc . How to do that ? -- Regards, N Ravi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1087466326.5072.5.camel>