From owner-freebsd-questions@FreeBSD.ORG Thu Apr 16 19:18:03 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 A9A40106566B for ; Thu, 16 Apr 2009 19:18:03 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 20E098FC1E for ; Thu, 16 Apr 2009 19:18:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id n3GJI1J2003104; Thu, 16 Apr 2009 21:18:01 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 78EDFBAA3; Thu, 16 Apr 2009 21:18:01 +0200 (CEST) Date: Thu, 16 Apr 2009 21:18:01 +0200 From: Roland Smith To: Mel Flynn Message-ID: <20090416191801.GA20327@slackbox.xs4all.nl> References: <49E64867.5060209@gmail.com> <200904161217.08784.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090416162732.GA5626@slackbox.xs4all.nl> <200904162059.31243.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <200904162059.31243.mel.flynn+fbsd.questions@mailing.thruhere.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: 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:18:04 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2009 at 08:59:30PM +0200, Mel Flynn wrote: =20 > I guess I'm just anti-redoing-configuration, since there's so many format= s out=20 > there. One can of course backup ${LOCALBASE}/etc --exclude rc.d, but the= =20 > number of exceptions grows over time (/etc/X11/xorg.conf, /usr/local/squi= d/*,=20 > /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 =66rom 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 --=20 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) --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknnhGkACgkQEnfvsMMhpyVvbwCgk6Yd6F7fE7W+dhzmifjlwcCA +TYAoJi6RIebv+q4HzEOgy424YwLH2P+ =uJZC -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--