From owner-freebsd-current Thu Jul 30 00:41:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA22007 for freebsd-current-outgoing; Thu, 30 Jul 1998 00:41:30 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from oslo.geco-prakla.slb.com (geos01.oslo.geco-prakla.slb.com [134.32.44.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA21998; Thu, 30 Jul 1998 00:41:27 -0700 (PDT) (envelope-from smoergrd@oslo.sl.slb.com) Received: from sunw110.oslo.Geco-Prakla.slb.com (sunw110 [192.23.231.54]) by oslo.geco-prakla.slb.com (8.8.8/8.6.9) with SMTP id JAA10656 ; Thu, 30 Jul 1998 09:40:07 +0200 (MET DST) Received: by sunw110.oslo.Geco-Prakla.slb.com (SMI-8.6/SMI-SVR4) id JAA00737; Thu, 30 Jul 1998 09:40:05 +0200 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 References: <199807291613.JAA02200@silvia.HIP.Berkeley.EDU> Organization: Schlumberger Geco-Prakla X-Disclaimer: I speak only for myself. From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) Date: 30 Jul 1998 09:40:03 +0200 In-Reply-To: asami@freebsd.org's message of Wed, 29 Jul 1998 09:13:39 -0700 (PDT) Message-ID: Lines: 41 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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