Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2011 16:40:21 -0400
From:      "" <>
To:        Chris Telting <>
Subject:   Re: zfs partition for /etc?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 23 April 2011 13:00, Chris Telting <> wrote:
> I'm using PC-BSD and ZFS. =A0ZFS is outstanding. =A0Somewhat less impress=
ed with
. . .
> So so on to my question. =A0I'm sure others have thought about this. =A0I=
> of want /etc to be it's own zfs partition so that I can snapshot it separ=
> from everything else and preserve it without much effort. =A0But I don't =
> I can do that because of booting. =A0The system depends on /etc before it
> mounts it's first file system. =A0Same issue I experienced a couple years=
> when I tried to do unionfs on /etc. Is it possible to mount multiple
> partitions from the kernel read only for single user mode and bootup? I
> almost feel like there should be an fstab for /boot just to be able to do
> something like this.
> I want to be able to snapshot and rollback my base system in seconds. =A0=
> I use separate volumes for /usr and /var I'll accept using a script. =A0M=
> only thought is to generate and archive diffs for /etc though another
> modular script to match snapshot labels.

I'm not sure why /etc applies any differently than rolling back
or snapshotting all of /, of course I don't know anything about
your installation, but /etc might run to 1.3M on a really bad day.

I also don't change /etc but rarely, maybe once a year, outside
of occasionally fiddling allscreens_flags in /etc/rc.conf.

The pain and potential for breakage seems hardly worth the
benefits, to me.

(as an aside, I think most of the configuration business in /boot
, specifically loader.conf, could simply be moved to /etc, but it's
not a problem I'd bother to fix.  It's an order of magnitude less
irritating than the spaghetti in most any linux machine's /etc q.v.)


Want to link to this message? Use this URL: <>