From owner-freebsd-hackers Wed Aug 6 08:34:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA02460 for hackers-outgoing; Wed, 6 Aug 1997 08:34:00 -0700 (PDT) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id IAA02453 for ; Wed, 6 Aug 1997 08:33:57 -0700 (PDT) Received: from LOCAL (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 2186 on Wed, 6 Aug 1997 15:33:48 GMT; id PAA02186 efrom: hans@brandinnovators.com; eto: UNKNOWN Received: by truk.brandinnovators.com (8.7.5/BI96070101) for <> id RAA17772; Wed, 6 Aug 1997 17:23:18 +0200 (MET DST) Message-Id: <199708061523.RAA17772@truk.brandinnovators.com> From: hans@brandinnovators.com (Hans Zuidam) Subject: Re: Registry reviewers? To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Wed, 6 Aug 1997 17:23:17 +0200 (MET DST) Cc: hackers@FreeBSD.ORG In-Reply-To: <199708060314.MAA02934@genesis.atrad.adelaide.edu.au> from Michael Smith at "Aug 6, 97 12:44:52 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Michael Smith wrote: > Hans Zuidam stands accused of saying: > > > Michael Smith wrote: > > > If I were to just slip it in parallel with the sysctl code, would anyone > > > notice? 8) > > Forgive my ignorance, but what does the registery code actually do that > > cannot be done with sysctl? > Is this "in general" or "specifically"? Both probably ;-) > The most significant differences are that it uses method-based access > to data, ie. the node supplies methods rather than a data pointer, and > it tries harder to hide the innards of the data storage from the > consumer. The main problem I have with this registry idea is that there is already a facility in the kernel for this type of work. It may not be perfect, but it works and may be considered ``standard'' in the BSD world. Another problem is that of robustness: if the registry get corrupt your whole system is compromised, see your average Windows 95/NT system. It's something like putting all your eggs in one basket and then sitting on it... Hans BTW. I do like the ppbus driver, it solves quite a few problems, thanks. -- H. Zuidam E-Mail: hans@brandinnovators.com Brand Innovators B.V. P-Mail: P.O. Box 1377 de Pinckart 54 5602 BJ Eindhoven, The Netherlands 5674 CC Nuenen Tel. +31 40 2631134, Fax. +31 40 2831138