Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 1995 16:45:23 -0400 (EDT)
From:      Mark Hittinger <bugs@ns1.win.net>
To:        hackers@FreeBSD.org
Subject:   Re: 2.1 install "upgrade" question? (fwd)
Message-ID:  <199504092045.QAA10208@ns1.win.net>

next in thread | raw e-mail | index | archive | help
> > setting up 1.x).  If you want this to be really user friendly, we need 
> > an option to lay down only the "delta". All serious packages offer 
> > "upgrade from 1.x"
> > "upgrade from 2.0R"
> > "new installation"
> 
> This is such an sensible thing to suggest.  Any idea where we find the
> time to do it ?

As I've mentioned before I've been working on a small shell script to perform
upgrades from snap to snap.

Each snap that goes by I do less by hand and more by script :-)

Now this "newfs" stuff where the file system has been changed for performance
is a fly in the ointment.  I'd like to take a look at the niddy griddy and
see if there is a way to upgrade the file system in place.  Also the slice
stuff seems to have changed enough to warrant a view from an upgrade point
of view.

Basically I get the tar files I want to load on the system and put them into
a directory.  For example, bindist.tar, secure.tar, ect.  You want to do
secure last if you use des :-).

Then I use the tar feature "-d" which does a file compare and prints the
differences.

so:

cd /
tar -df /home/bugs/fb21/bindist.tar > /tmp/diff.list

We want to see the files that are "size differs", "data differs", or
"does not exist".  Those are the files that are upgrade candidates.  We
all know, of course, that the /etc files need special handling.

I have used this technique with no ill effects for upgrading to each snap
since 2.0R.  There are open issues like the schg flags ect, and I am thinking
about having the "diff" tarball somehow hook into install.

So - some guys are thinking about these things, are doing these things,
and are looking forward to each snap!  I figure another 1 or 2 snaps and
I ought to have the whole thing automated (except for /etc).  It took me
about 30 minutes to upgrade a snap-0210 system to a snap-0322 system.

Regards,


Mark Hittinger
bugs@win.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504092045.QAA10208>