From owner-freebsd-hackers Tue Aug 6 11:35:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44DE837B400 for ; Tue, 6 Aug 2002 11:35:09 -0700 (PDT) Received: from sccmmhc02.mchsi.com (sccmmhc02.mchsi.com [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id B86B743E42 for ; Tue, 6 Aug 2002 11:35:08 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu ([12.216.242.20]) by sccmmhc02.mchsi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020806183508.CPKV7903.sccmmhc02.mchsi.com@math.missouri.edu>; Tue, 6 Aug 2002 18:35:08 +0000 Message-ID: <3D5016DB.8090302@math.missouri.edu> Date: Tue, 06 Aug 2002 13:35:07 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ed Yu Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: anything similar to linux /proc stuff? References: <20020806182037.63580.qmail@web20703.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ed Yu wrote: > Hi, I'm doing a port of a Linux module I wrote so that > I can use it on my FreeBSD system. However, after some > digging, I found the FreeBSD /proc is vastly different > from Linux. Despite the overuse of /proc in Linux, it > is useful still to have something like that in my > module. Basically, I need some kind of pseudo > filesystem to store pseudo files that can report > informations of the module I write. I need to be able > to echo into the files, and cat it out (yes like fifo) > and read information such as the id of the running > process that uses the module, etc. > Is there facility like that in FreeBSD? > > Thank you, > ed > Would man linprocfs be of any use to you? This is something that the editors/staroffice52 port needs. -- Stephen Montgomery-Smith stephen@math.missouri.edu http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message