From owner-freebsd-hackers Sat Sep 11 16: 3:40 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from guardian.sftw.com (guardian.sftw.com [209.157.37.25]) by hub.freebsd.org (Postfix) with ESMTP id EDE8914FA7 for ; Sat, 11 Sep 1999 16:03:37 -0700 (PDT) (envelope-from nsayer@sftw.com) Received: from yoda.sftw.com (yoda.sftw.com [209.157.37.177]) by guardian.sftw.com (8.9.3/8.9.3) with ESMTP id QAA24154; Sat, 11 Sep 1999 16:03:37 -0700 (PDT) (envelope-from nsayer@sftw.com) Received: from sftw.com (localhost [127.0.0.1]) by yoda.sftw.com (8.9.3/8.9.3) with ESMTP id QAA05127; Sat, 11 Sep 1999 16:03:37 -0700 (PDT) (envelope-from nsayer@sftw.com) Message-ID: <37DADFC5.3A8936B0@sftw.com> Date: Sat, 11 Sep 1999 23:03:33 +0000 From: Nick Sayer Reply-To: nsayer@freebsd.org X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: Ben Jackson Cc: hackers@freebsd.org Subject: Re: upgrade issue from 2.2.x -> 3.2 References: <199909100500.WAA00530@pulsar.ben.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms4BAAA505A08C629B4DA18D61" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a cryptographically signed message in MIME format. --------------ms4BAAA505A08C629B4DA18D61 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ben Jackson wrote: > I just did that upgrade (been with freebsd since 1.1!) and everything > seems pretty smooth. I did a 2.2->3.1 upgrade on another machine so > I'm probably glossing over some aout issues (mainly that you have to > find them and move them into a separate directory). > > One thing that confused me for several days and I just figured out: > sysctl moved from /usr/sbin to /sbin. I have /usr/sbin in my path first, > so I was getting to old one. It almost works, but not quite. It only > displays about 15 `kern.' variables and then quits. > > Perhaps the upgrade option should at least warn of that possibility > (maybe obvious, but somewhat unexpected) or even include a list of files > that once existed in FreeBSD but no longer do (to facilitate removing > them). I'm thinking about digging out a 2.2.x install cd to build that > list for myself. > > --Ben > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message Whenever I do an upgrade, I always do an ls -alt on /modules, /sbin, /bin, /usr/bin, /usr/sbin, /usr/libexec (ignoring the a.out ld.so) and /usr/lib. The bottom of the list in each case (where bottom means a date significantly before the rest) needs to be analyzed and probably deleted. In the case of /usr/lib, old libraries probably can be moved into /usr/lib/compat (a.out ones go in /usr/lib/compat/a.out, of course). I always catch some stuff using this procedure. :-) I also end up hand-merging the backup of /etc made by the upgrade, /usr/src/etc for the version in question, and /etc to try and make it look as much like a fresh install with customizations as I can. I doubt that any reasonable programatic way to do this can be done, apart from what the upgrade already does. --------------ms4BAAA505A08C629B4DA18D61 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIIcAYJKoZIhvcNAQcCoIIIYTCCCF0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BhwwggLbMIICRKADAgECAgMBQOowDQYJKoZIhvcNAQEEBQAwgbkxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMRowGAYDVQQKExFU aGF3dGUgQ29uc3VsdGluZzEpMCcGA1UECxMgVGhhd3RlIFBGIFJTQSBJSyAxOTk4LjkuMTYg MTc6NTUxNjA0BgNVBAMTLVRoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBSU0EgSXNzdWVyIDE5 OTguOS4xNjAeFw05OTA4MTgxNzAxMzFaFw0wMDA4MTcxNzAxMzFaMFwxDjAMBgNVBAQTBVNh eWVyMREwDwYDVQQqEwhOaWNob2xhczEXMBUGA1UEAxMOTmljaG9sYXMgU2F5ZXIxHjAcBgkq hkiG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BzAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZIhvcN AwICAUAwDQYIKoZIhvcNAwICASgwDQYJKoZIhvcNAQEBBQAEgYAg6K1qEIBwDlO1omghs0QV Tyzvk6YNk3LAf9XgCou//g6MhcBri2X4TelX961GqXdnzsZnDtaIWO/pKB+wWXKbS5c1f313 Ciq0r2FCEdsbkq9xHYw3dC1y1hG6d9QK1Bnmh8i5HjWUAXpgopAAOt55CObd8HQBaOwcVgci ++QPnw== --------------ms4BAAA505A08C629B4DA18D61-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message