Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2013 00:27:05 -0700
From:      perryh@pluto.rain.com (Perry Hutchison)
To:        roam@ringlet.net
Cc:        d@delphij.net, freebsd-ports@freebsd.org
Subject:   Re: non-destructive ports/packages update
Message-ID:  <5174e649.2K4NXwwuB%2BAkDdXo%perryh@pluto.rain.com>
In-Reply-To: <20130421113808.GA5485@straylight.m.ringlet.net>
References:  <517236fe.7AoqFIleDJvljza6%perryh@pluto.rain.com> <51723A51.20401@delphij.net> <51733ad5.jgrImeJZdbQoq4dt%perryh@pluto.rain.com> <20130421113808.GA5485@straylight.m.ringlet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev <roam@ringlet.net> wrote:

> Some ports might store "run state" in /var/db/<portname> or a similarly
> named directory.  The thing is, the decision whether to save this and
> restore it or to keep it across runs actually depends on the port: for
> database management systems such as MySQL, PostgreSQL, etc, you'll
> probably want to keep the databases even if the ports themselves are
> reinstalled, rolled back, restored, whatever.  For some other systems,
> you might want to remove the "current state" information of the version
> that you are about to replace.

Good catch.  No DBMS on this system, so no problem there, but there
are two non-empty X11-related directories under /var/db:  dbus and
fontconfig.  (The machine does have some X client apps, but not the
X server.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5174e649.2K4NXwwuB%2BAkDdXo%perryh>