From owner-freebsd-hackers Wed Jun 3 18:45:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27819 for freebsd-hackers-outgoing; Wed, 3 Jun 1998 18:45:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from roma.coe.ufrj.br (jonny@roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA27755; Wed, 3 Jun 1998 18:45:01 -0700 (PDT) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id WAA03920; Wed, 3 Jun 1998 22:44:55 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199806040144.WAA03920@roma.coe.ufrj.br> Subject: Re: kernfs/procfs questions... In-Reply-To: <199806021650.LAA02867@dyson.iquest.net> from "John S. Dyson" at "Jun 2, 98 11:50:32 am" To: dyson@FreeBSD.ORG Date: Wed, 3 Jun 1998 22:44:55 -0300 (EST) Cc: mike@dingo.cdrom.com, dyson@FreeBSD.ORG, mike@smith.net.au, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (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 #define quoting(John S. Dyson) // Mike Smith said: // > // > Sure; but can't these sort of improvements be made to the methods for // > manipulating procfs nodes? What other drawbacks are there to the FS // > model? // > // It is bogus that writing to a file "controls" something inside // the system, Then, /dev/kmem is bogus ? TM The idea that file namespace controls everything is a GoodThing, and the existence of device files is one of the things I like more in Unix. I agree with somebody (Mike ?) who said that this facilitates using of general tools. I have used kernfs long time ago, but stopped using when I perceived that it was not being developed anymore, and no more functionality would be added. It was dead. With tool functions to facilitate kernel drivers to create their interface to kernfs, they would be as easy as creating sysctls. What I don't like in Linux kernels is the mess that they made into their procfs, so if you guys intend to continue kernfs, be careful to keep the house clean. // that is kind-of what SNMP is for. Now, if someone // wants a kernfs that is compatible with our sysctl, they should // be able to use the sysctl info to build the kernfs. That is not a bad idea ! :) /kern/sysctl/... Jonny -- Joao Carlos Mendes Luis M.Sc. Student jonny@jonny.eng.br Universidade Federal do Rio de Janeiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message