Date: 30 Jul 1998 09:40:03 +0200 From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) To: asami@FreeBSD.ORG (Satoshi Asami) Cc: muck@ida.net, nik@iii.co.uk, wwoods@cybcon.com, current@FreeBSD.ORG Subject: Re: Upgrading from 2.2.7 to Current Message-ID: <rx4btq7zt0s.fsf@oslo.geco-prakla.slb.com> In-Reply-To: asami@freebsd.org's message of Wed, 29 Jul 1998 09:13:39 -0700 (PDT) References: <199807291613.JAA02200@silvia.HIP.Berkeley.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
asami@freebsd.org (Satoshi Asami) writes:
> * Indeedeedoo. BTW, I can confirm that this works perfectly in the other
> * direction, too; I've upgraded my scratch box from 3.0-SNAP-980222 to
> * 3.0-CURRENT and "downgraded" it back to 2.2.7-STABLE with absolutely
> * no sign of trouble.
> Be careful though. I don't remember if there are currently any shared
> library version differences between 2.2.7 and 3.0 (which of course
> will cause your newly build 2.2.7 libraries to be very effectively
> ignored), but some things in /usr/include that only exist in 3.0 will
> cause some ports to mistake your OS version and blow up.
Don't worry, I thought of that :) Considering that I built 2.2.7
twelve days after my last 3.0 build:
for dir in / /var /usr ; do
find $dir -xdev -mtime 12 -print | xargs rm -rf
done
and a second make installworld just to be sure I hadn't removed
anything useful. Libraries were slightly hairier than that because
there were links in /usr/lib/compat that had to be removed, but
nothing too challenging. And of course, I rebuilt all my ports - which
wasn't much (bash2, less, lynx, ncftp2) since this is a scratch box.
/etc is a whole other story. From memory:
# cd /
# pax -rwpe etc /var/tmp
# rm -rf etc
# mkdir etc etc/kerberos etc/ppp etc/mtree (and possibly a few others)
# cd /var/tmp/etc
# cp *passwd *pwd* group /etc
# cd /usr/src/etc
# make distribution DESTDIR=/
# newaliases
# cd /var/tmp/etc
# cp *passwd *pwd* group hosts host.conf resolv.conf rc.conf.local fstab /etc
DES
--
Dag-Erling Smørgrav - smoergrd@oslo.geco-prakla.slb.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rx4btq7zt0s.fsf>
