From owner-freebsd-fs@FreeBSD.ORG Mon Jul 19 11:58:42 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F10F16A4CE; Mon, 19 Jul 2004 11:58:41 +0000 (GMT) Received: from inetmg01.sony.com.sg (inetmg01.sony.com.sg [202.42.154.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F91743D2D; Mon, 19 Jul 2004 11:58:40 +0000 (GMT) (envelope-from ravi.nanjundappa@ap.sony.com) Received: from avgw02b.sony.com.sg ([43.68.8.23]) by inetmg01.sony.com.sg (8.11.7+Sun/8.11.6) with SMTP id i6JC2RI01047; Mon, 19 Jul 2004 20:02:28 +0800 (SGT) Received: from unknown(43.68.8.1) by avgw02b.sony.com.sg via csmap id b5bbb4aa_d97b_11d8_8391_0002b3cb4edc_11241; Mon, 19 Jul 2004 20:03:56 +0800 (SGT) Received: from sapsgssdibh01.ap.sony.com (bh01.ap.sony.com [43.68.15.23]) by seagw01.sony.com.sg (8.11.6+Sun/8.11.6) with ESMTP id i6JBoIE17504; Mon, 19 Jul 2004 19:50:18 +0800 (SGT) Received: from sapinsardexc01.sard.in.sony.com.sg (SAPINSARDEXC01 [43.88.102.8]) by sapsgssdibh01.ap.sony.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id PATQCF5K; Mon, 19 Jul 2004 19:57:34 +0800 Received: from [43.88.102.67] (RAVIN [43.88.102.67]) by sapinsardexc01.sard.in.sony.com.sg with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id 37T3DYBT; Mon, 19 Jul 2004 17:39:12 +0530 From: ravi To: Andrey Simonenko In-Reply-To: <20040706114506.GC466@pm514-9.comsys.ntu-kpi.kiev.ua> References: <20040706114506.GC466@pm514-9.comsys.ntu-kpi.kiev.ua> Content-Type: text/plain Organization: SONY-SARD Message-Id: <1090238636.4728.7.camel@ravin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 19 Jul 2004 17:33:56 +0530 Content-Transfer-Encoding: 7bit cc: Brian Fundakowski Feldman cc: Raja Guha cc: Dan Nelson cc: freebsd-fs@freebsd.org cc: Aniruddha Bohra Subject: Regarding FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 11:58:42 -0000 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