Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2017 15:26:17 +0000
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Boot environments and /var - what should be shared/unshared?
Message-ID:  <c7e9a10b-4794-27af-27da-5a8e8c483aee@qeng-ho.org>

next in thread | raw e-mail | index | archive | help
I've been using beadm boot environments for a while now, but still
haven't seen a definitive reference for which parts of /var should be
shared across boot environments and which should be per environment. Is
there such a document, or is everybody still busking it?

Some top level directories in /var seem fairly obviously in need of
sharing, others less so, and /var/db seems to be a horrible mix of stuff
that could be shared across releases and stuff that might break horribly
if shared over major revisions. (That's "might" because I have no idea
if it would in practice.)

I doubt whether any of this would matter (except for space) if one
simply rolled forward monotonically, but a roll back because of
problems, or simply switching between development environments, could
lose necessary updates if the directory hadn't been shared when it
should have been.

-- 
By June 1949, people had begun to realize that it was not so easy to
get a program right as had at one time appeared. It was on one of my
journeys between the EDSAC room and the punching equipment that the
realization came over me with full force that a good part of the
remainder of my life was going to be spent in finding errors in my own
programs.

	-- Maurice Wilkes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7e9a10b-4794-27af-27da-5a8e8c483aee>