From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: [OT] Six non-Gentoo installs
Date: Wed, 15 Oct 2014 15:54:41 -0400 [thread overview]
Message-ID: <CAGfcS_kuq7zHy36S5howJa7O-v9yMGNBbR7X8iwU-SYJ1L0g3w@mail.gmail.com> (raw)
In-Reply-To: <543E652E.3080602@thegeezer.net>
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
next prev parent reply other threads:[~2014-10-15 19:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 22:36 [gentoo-user] [OT] Six non-Gentoo installs Grant Edwards
2014-10-15 0:17 ` Alec Ten Harmsel
2014-10-15 2:39 ` [gentoo-user] " Grant Edwards
2014-10-15 3:14 ` Rich Freeman
2014-10-15 12:14 ` thegeezer
2014-10-15 19:54 ` Rich Freeman [this message]
2014-10-15 14:37 ` Grant Edwards
2014-10-15 3:47 ` Alec Ten Harmsel
2014-10-15 1:08 ` James
2014-10-15 2:43 ` Grant Edwards
2014-10-16 14:21 ` [gentoo-user] " Tom H
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGfcS_kuq7zHy36S5howJa7O-v9yMGNBbR7X8iwU-SYJ1L0g3w@mail.gmail.com \
--to=rich0@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox