From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-159329-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0C7561387CA for <garchives@archives.gentoo.org>; Wed, 15 Oct 2014 19:54:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDE39E0999; Wed, 15 Oct 2014 19:54:43 +0000 (UTC) Received: from mail-vc0-f194.google.com (mail-vc0-f194.google.com [209.85.220.194]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C879BE0973 for <gentoo-user@lists.gentoo.org>; Wed, 15 Oct 2014 19:54:42 +0000 (UTC) Received: by mail-vc0-f194.google.com with SMTP id lf12so443531vcb.9 for <gentoo-user@lists.gentoo.org>; Wed, 15 Oct 2014 12:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=/QcLTomic8rkg40FjvVooLT2SPi3e+HeIjHz972V9qU=; b=lFJaZhovExdZjkXtxUa4Ll94m+a06c5JX0r4CNullwuT3Kq9xYYIl8hvN7hCvoWAc3 6IdOnO2rYgqPgja20CG+/EmO7XDp+/Ql4JonbKhW1ev7lfm9G00Vna1w+381SAx3gr4O dVoQ0ShTrmMSuZdlhNmrSPkdcM5HdBZAkA4QumnmP9vxZO2VNNgxVGjpB0yCgETjSLlW slxVtA2g7O8xWJgqevUrvxbA7mw+kpZPgXYJuiUngPUkykhboZ4Cg9+3r6r1f1ekRYfN BDIM7zeJfQA1FB7iIWqCwG46fQ4rLykwHWoas51/MnFc/4ZHkCUzE9AhCcOmDhEM9uhp FcNw== Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.220.111.6 with SMTP id q6mr13130646vcp.12.1413402881929; Wed, 15 Oct 2014 12:54:41 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.8.229 with HTTP; Wed, 15 Oct 2014 12:54:41 -0700 (PDT) In-Reply-To: <543E652E.3080602@thegeezer.net> References: <m1k8hs$qed$1@ger.gmane.org> <543DBD20.6000307@alectenharmsel.com> <m1kmpq$9g3$1@ger.gmane.org> <CAGfcS_=TcGP-cLZB+TpE76arhhFQzd5QbCwo9HXN5x4_HAcPGw@mail.gmail.com> <543E652E.3080602@thegeezer.net> Date: Wed, 15 Oct 2014 15:54:41 -0400 X-Google-Sender-Auth: iUwZijeCXlMFFUw8-Zi4uVd44Ug Message-ID: <CAGfcS_kuq7zHy36S5howJa7O-v9yMGNBbR7X8iwU-SYJ1L0g3w@mail.gmail.com> Subject: Re: [gentoo-user] Re: [OT] Six non-Gentoo installs From: Rich Freeman <rich0@gentoo.org> To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 4a31c7c5-5e64-4cae-b6a1-533b4eb0fb8a X-Archives-Hash: dab734db8618e1261bc6017005591376 On Wed, Oct 15, 2014 at 8:14 AM, thegeezer <thegeezer@thegeezer.net> wrote: > On 15/10/14 04:14, Rich Freeman wrote: >> >> One thing I do like is the trend towards putting default configs in >> /usr and using /etc more for overrides. > > you should have a look at unionfs or aufs -- what you can do is have an > initram that mounts /etc from lvm-stock-etc and then unionfs with > lvm-custom-etc > this allows you to have a standard lvm layout everywhere and then only > need to rsync the lvm-custom partitions > if you are feeling really fruity could use network locations for the > stock locations and an sd card or small storage for the custom partition That could potentially work, but it has some problems: 1. Updates will get applied to the unionfs, so it will gather untouched files over time. That is, unless you unmount the unionfs before doing updates (which could be difficult if the system is otherwise operational). 2. If you modify one line in a file in /etc, the entire file with the modification will be present in the unionfs. Using the split /usr - /etc approach usually requires application support as both configuration files need to be sourced, with specific settings in /etc overriding those in /usr, but any unmodified settings being taken from /usr. Many (most?) packages do not support this. -- Rich