Date: Fri, 23 Apr 2010 07:58:01 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net> To: Mike Meyer <mwm@mired.org> Cc: hackers@freebsd.org Subject: Re: /etc in CVS Message-ID: <20100423055800.GY92627@acme.spoerlein.net> In-Reply-To: <20100422121050.310c3790@bhuda.mired.org> References: <201003231108.45102.jhb@freebsd.org> <20100324165748.7334B5B42@mail.bitblocks.com> <20100419221413.GD76198@felucia.tataz.chchile.org> <20100420183007.481F85B4D@mail.bitblocks.com> <4BCDF9D5.10909@FreeBSD.org> <4BCF75AE.71F13233@verizon.net> <86vdbjdc42.fsf@ds4.des.no> <20100422144127.GW92627@acme.spoerlein.net> <20100422121050.310c3790@bhuda.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 22.04.2010 at 12:10:50 -0400, Mike Meyer wrote: > On Thu, 22 Apr 2010 16:41:27 +0200 > Ulrich Spörlein <uqs@spoerlein.net> wrote: > > > On Thu, 22.04.2010 at 12:18:21 +0200, Dag-Erling Smørgrav wrote: > > > Sergey Babkin <babkin@verizon.net> writes: > > > > I wonder if a version control system, like SVN, could be used to keep > > > > track of all the changes in /etc. (Or maybe it already is and I'm > > > > simply out of date). > > > > > > arch is commonly used for things like this. > > > > I have a .hg directory sitting in / for every machine I usually take > > care of. hgignore is of course set to *, so only explicitly added files > > are tracked. > > > > FWIW, I would *strongly* suggest you do *not* use SVN, but a system > > capable of offline usage, because when the shit hits the fan, you can't > > rely on a working network. > > My take is the exact opposite: when the shit *really* hits the fan, > you can't rely on data from the local disk, so you want your VCS data > to be stored somewhere else. > > Ideally, the VCS has *everything* on the remote server, including data > about what's checked out where, so your worst case is to reinstall the > base OS and then just checkout everything. I take it you have never worked with a distributed SCM then. As there are checksums that can assure integrity and, more importantly, distributed SCMs can of course get data over the network from a central storage. Also, ZFS and geli provide further data integrity mechanisms for the truly paranoid. Regards, Uli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100423055800.GY92627>