Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 22:59:44 -0600
From:      "Mike Meyer" <mwm-dated-1013144385.29174d@mired.org>
To:        Terry Lambert <tlambert2@mindspring.com>, Juha Saarinen <juha@saarinen.org>
Cc:        "Brian T.Schellenberger" <bts@babbleon.org>, Wilko Bulte <wkb@freebie.xs4all.nl>, Paul Fardy <pdfardy@mac.com>, current@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   Re: Junior Annoying Hacker Task
Message-ID:  <15452.50112.625066.914576@guru.mired.org>
In-Reply-To: <3C5CA666.9BC2BC06@mindspring.com>
References:  <20020203040623.13CEF407B@i8k.babbleon.org> <Pine.WNT.4.43.0202031734150.1268-100000@den2> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert <tlambert2@mindspring.com> 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 <juha@saarinen.org> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15452.50112.625066.914576>