From owner-freebsd-fs@FreeBSD.ORG Fri Jul 23 08:56:35 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 D260916A4CE for ; Fri, 23 Jul 2004 08:56:35 +0000 (GMT) Received: from inetmg01.sony.com.sg (inetmg01.sony.com.sg [202.42.154.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6980243D2D for ; Fri, 23 Jul 2004 08:56:33 +0000 (GMT) (envelope-from ravi.nanjundappa@ap.sony.com) Received: from avgw02b.sony.com.sg (avgw02b [43.68.8.23]) by inetmg01.sony.com.sg (8.11.7+Sun/8.11.6) with SMTP id i6N91OI29457 for ; Fri, 23 Jul 2004 17:01:24 +0800 (SGT) Received: from unknown(43.68.8.1) by avgw02b.sony.com.sg via csmap id 1b4d0c16_dc87_11d8_9dd0_0002b3cb4edc_28951; Fri, 23 Jul 2004 17:03:04 +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 i6N8n6E05247 for ; Fri, 23 Jul 2004 16:49:06 +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 P3XJ7SH3; Fri, 23 Jul 2004 16:56:25 +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 37T3DZRQ; Fri, 23 Jul 2004 14:38:06 +0530 From: ravi To: freebsd-fs@freebsd.org In-Reply-To: <20040719120055.7DEC716A4D0@hub.freebsd.org> References: <20040719120055.7DEC716A4D0@hub.freebsd.org> Content-Type: text/plain Organization: SONY-SARD Message-Id: <1090573381.2960.3.camel@ravin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 23 Jul 2004 14:33:02 +0530 Content-Transfer-Encoding: 7bit Subject: Regarding the file size of /proc file entries 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: Fri, 23 Jul 2004 08:56:35 -0000 Hi, Please have a look at the following output . $ ls -l /proc/self/ total 0 -rw-rw-rw- 1 ravi ravi 0 Jul 23 19:56 cmdline lr--r--r-- 1 ravi ravi 0 Jul 23 19:56 exe -> /bin/ls -rw------- 1 ravi ravi 0 Jul 23 19:56 mem -rw-rw-rw- 1 ravi ravi 0 Jul 23 19:56 mem123 -rw-rw-rw- 1 ravi ravi 0 Jul 23 19:56 stat -rw-rw-rw- 1 ravi ravi 0 Jul 23 19:56 status $ And also please have a look at the 5th column . For all the entries the size shown is zero . Which structure of the kernel will store the size of /proc file entries ? Please do the needful . Regards, N Ravi