Subject: Re: Upgrading NetBSD?
To: NetBSD/i386 Discussion List <port-i386@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: port-i386
Date: 06/28/2001 18:05:56
[ On , June 28, 2001 at 16:01:41 (+0200), Johan Ihren wrote: ]
> Subject: Re: Upgrading NetBSD?
>
> Speaking of which: it would be cleaner if there were fewer files in
> /etc so that the ones that have been locally modified stood out
> better.

There are much much much better ways to attack the problem.

(Eg. just use RCS to manage your local changes then the modified files
will be clearly visible with "ls /etc/RCS"!)

> F.i. instead of having the system source /etc/monthly.conf, which then
> sources /etc/defaults/monthly.conf (if it exists) it would be better
> if the system sourced /etc/defaults/monthly.conf, which then sourced
> /etc/monthly.conf (if it exists). In the latter case /etc would be
> empty unless there was a local modification.

No, that's a bad idea.  The current scheme is the best way as it makes
everything very clear and obvious and leaves nothing hidden.  The real
config file is the obvious one and it clearly shows how it will, if
unmodified, pick up defaults from an optional secondary file.

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>