Date: Mon, 19 Jul 2004 17:33:56 +0530 From: ravi <ravi.nanjundappa@ap.sony.com> To: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> Cc: Aniruddha Bohra <bohra@cs.rutgers.edu> Subject: Regarding FreeBSD Message-ID: <1090238636.4728.7.camel@ravin> In-Reply-To: <20040706114506.GC466@pm514-9.comsys.ntu-kpi.kiev.ua> References: <20040706114506.GC466@pm514-9.comsys.ntu-kpi.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
1) Can u explain me the usage of different arguments to pf_create_file
() function ?
2) what is the use of PFS_PROCDEP in the following statement ?
dir = pfs_create_dir(root, "pid",
procfs_attr, NULL, PFS_PROCDEP);
3) there is no entry under /proc with the name "pid" .
Why is it so ?
4) And even though for some of the proc entries the permission given is
PFS_RDWR , the file is getting created with the read permission only .
What is the reason for this ?
Regards,
N Ravi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1090238636.4728.7.camel>
