From owner-freebsd-hackers Mon Jun 1 19:04:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA08273 for freebsd-hackers-outgoing; Mon, 1 Jun 1998 19:04:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA08159 for ; Mon, 1 Jun 1998 19:03:59 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id VAA01466; Mon, 1 Jun 1998 21:03:25 -0500 (EST) (envelope-from toor) Message-Id: <199806020203.VAA01466@dyson.iquest.net> Subject: Re: kernfs/procfs questions... In-Reply-To: <199806012341.QAA02024@dingo.cdrom.com> from Mike Smith at "Jun 1, 98 04:41:59 pm" To: mike@smith.net.au (Mike Smith) Date: Mon, 1 Jun 1998 21:03:25 -0500 (EST) Cc: hackers@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith said: > > With the recent discussions regarding emulation of Linux' procfs, as > well as other comments on the general topic, I'm wondering what the > feeling is with regard to other, not-specifically-process-related data > in procfs. > > The Linux model is to have a separate directory for the kernel > (/proc/kern or similar). This keeps the root-level clutter down, but > does "pollute" the namespace. > > Thet NetBSD folks have something similar (although the implementation > still seems a bit raw) with their 'kernfs', which they mount on /kern, > keeping the separation between the two clear. > > Does anyone have any strong opinions? Justifications? > I much prefer sysctl, being a convert from the kernfs camp. Procfs is just bogus, not well thought out re-invention (IMO.) It seems that the pseudo-MIB scheme of sysctl is nice. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message