From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 23 05:58:02 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C261065672 for ; Fri, 23 Apr 2010 05:58:02 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2001:470:9a47::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4E28D8FC0A for ; Fri, 23 Apr 2010 05:58:02 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (Postfix) with ESMTPS id 688165C5F; Fri, 23 Apr 2010 07:58:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1272002281; bh=5l/N8OhRkUYd3ij63GaW863qOZoHX3EJfHHKoZj3N5A=; h=Date:From:To:Cc:Subject:Message-ID:Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; b=TDbQ4GUD397h+GD90Z4UREi4Wxl4rV7NB1hxPBPIkBAaO/c4irNIs2phNvKo2+KQV dvknzZTI+l0XqT/3xNYbin2WowNeXg1LgK7AeayUv8E7ImFDeXMGXrDS1tvgrhQSB1 KP7T1wWRx6CMMA0AWvuLKq4dAYlUo8H9DRoCzbjM= Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id o3N5w1n3057425; Fri, 23 Apr 2010 07:58:01 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Fri, 23 Apr 2010 07:58:01 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Mike Meyer Message-ID: <20100423055800.GY92627@acme.spoerlein.net> Mail-Followup-To: Mike Meyer , hackers@freebsd.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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100422121050.310c3790@bhuda.mired.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: hackers@freebsd.org Subject: Re: /etc in CVS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: uqs@spoerlein.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 05:58:02 -0000 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 wrote: > > > On Thu, 22.04.2010 at 12:18:21 +0200, Dag-Erling Smørgrav wrote: > > > Sergey Babkin 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