From owner-freebsd-current Sat Feb 2 20:59:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 44CB037B400 for ; Sat, 2 Feb 2002 20:59:46 -0800 (PST) Received: (qmail 41937 invoked by uid 100); 3 Feb 2002 04:59:45 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15452.50112.625066.914576@guru.mired.org> Date: Sat, 2 Feb 2002 22:59:44 -0600 To: Terry Lambert , Juha Saarinen Cc: "Brian T.Schellenberger" , Wilko Bulte , Paul Fardy , current@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: Junior Annoying Hacker Task In-Reply-To: <3C5CA666.9BC2BC06@mindspring.com> References: <20020203040623.13CEF407B@i8k.babbleon.org> <5F46C986-16DB-11D6-8CEC-00039359034A@mac.com> <20020202110330.C16801@freebie.xs4all.nl> <3C5BCA46.713B1950@mindspring.com> <20020202145852.6781C407B@i8k.babbleon.org> <3C5CA666.9BC2BC06@mindspring.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.5-RC-i386) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert types: > I guess NIH beats an idea to death, even if the original > implementation bears no resemblence to the current one. The problem with the registry is not that it's a single place that tries to control everything. The problem with the registry is that you have to have a large chunk of the system functioning in order to fix things in it should it break - which, from what I've seen, happens all to frequently. Compare this to unix, where all you need is the kernel, init, sh and ed - and sufficiently clever people may be able to do it without init. I offer AIX as an example. IBM decided that all those silly flat text files in Unix was a bad idea and replaced them with object database. They didn't put everything in one big file like Windows does, but grouped them "logically", meaning the grouping was unrelated to the flat text files unix admins used to know. Of course, each different db used a different command, with a different syntax, to edit the db. I guess if you're going to make old knowledge useless, you might as well be thorough about it. What this meant in practical terms was that fixing the system required all the db mechanisms to be working, plus either the man pages or menu-driven admin tool to be working in order to fix a broken system. And that was one of the better features of AIX. Juha Saarinen types: > On Sat, 2 Feb 2002, Brian T.Schellenberger wrote: > Then again, the registry is the epitome of all that's counter-intuitive, > awkward and generally oh-why-does-it-have-to-be-like-this. Maybe it should > be ported to FreeBSD? ;-)))) I haven't followed the thread, so apologies if this is repeated. I think having menu-driven front end for editing *.conf files - right now, that would be rc, make, pccard and periodic - isn't such a bad idea. Nothing about the current behavior needs to change. It's no worse than letting people use the sysinstall disk management subsystem rather than fdisk and disklabel. Ideally, it would read all of /etc/defaults/*.conf for a description of each such file. When you chose to edit that file, it would read the contents for the list of variables and what they do - in the comments - along with the default values, then get the current values from the appropriate file in /etc. That means the tool doesn't get out of sync with the files - except for maybe make.conf. It would require reworking the comments in the files in /etc/defaults, and a little more discipline in editing them, but that's not necessarily a bad thing. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message