From owner-freebsd-questions@FreeBSD.ORG Thu Apr 16 19:58:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B56611065675 for ; Thu, 16 Apr 2009 19:58:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 797238FC13 for ; Thu, 16 Apr 2009 19:58:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 9A37F7E818; Thu, 16 Apr 2009 11:58:25 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 16 Apr 2009 21:58:22 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <49E64867.5060209@gmail.com> <200904162059.31243.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090416191801.GA20327@slackbox.xs4all.nl> In-Reply-To: <20090416191801.GA20327@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904162158.22744.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Roland Smith Subject: Re: Saving configuration files (was Re: FreeBSD Upgrade: Ports That Need Rebuilding) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 19:58:29 -0000 On Thursday 16 April 2009 21:18:01 Roland Smith wrote: > On Thu, Apr 16, 2009 at 08:59:30PM +0200, Mel Flynn wrote: > > > > 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 Very interesting. Maybe I should wrap sudoedit with autocommits, cause I know I'd forget to. -- Mel