From owner-freebsd-hackers Tue Aug 6 11:20:39 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 7C10537B400 for ; Tue, 6 Aug 2002 11:20:37 -0700 (PDT) Received: from web20703.mail.yahoo.com (web20703.mail.yahoo.com [216.136.226.176]) by mx1.FreeBSD.org (Postfix) with SMTP id 3722F43E72 for ; Tue, 6 Aug 2002 11:20:37 -0700 (PDT) (envelope-from edlyu@yahoo.com) Message-ID: <20020806182037.63580.qmail@web20703.mail.yahoo.com> Received: from [64.124.70.190] by web20703.mail.yahoo.com via HTTP; Tue, 06 Aug 2002 11:20:37 PDT Date: Tue, 6 Aug 2002 11:20:37 -0700 (PDT) From: Ed Yu Subject: anything similar to linux /proc stuff? To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message