On Thu, Apr 16, 2009 at 08:59:30PM +0200, Mel Flynn wrote:
<snip> 
> I guess I'm just anti-redoing-configuration, since there's so many formats 
> out 
> there. One can of course backup ${LOCALBASE}/etc --exclude rc.d, but the 
> number of exceptions grows over time (/etc/X11/xorg.conf, /usr/local/squid/*, 
> /usr/local/pgsql/data/*, /usr/local/hybserv/*).

I keep all configuration files that I have changed myself in a tree
under ~/setup, complete with two scripts that check (check.pl) if config
files have changed or installs them (install.pl) if they are out of
date. Both scripts read a file with a list of what to install
where. This directory is kept under revision control with git. I've
documented this setup on my homepage: 
http://www.xs4all.nl/~rsmith/freebsd/index.html#doc

This repository and support scripts enables me to easily absorb changes
from mergemaster if necessary, while I can easily restore my settings if
I screw something up. Note that I remove the FreeBSD RCSid from the
files that I change, so that mergemaster will skip them automatically.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpc4xA3RT2GM.pgp
Description: PGP signature

Reply via email to