Date: Sat, 11 Sep 1999 23:03:33 +0000 From: Nick Sayer <nsayer@sftw.com> To: Ben Jackson <ben@ben.com> Cc: hackers@freebsd.org Subject: Re: upgrade issue from 2.2.x -> 3.2 Message-ID: <37DADFC5.3A8936B0@sftw.com> References: <199909100500.WAA00530@pulsar.ben.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 MI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Bo7SjVa7ld7bDGUF3pWeAt1TF76+/GvDGiJ6FCthvcKfXnpa MYICHDCCAhgCAQEwgcEwgbkxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx FDASBgNVBAcTC0R1cmJhbnZpbGxlMRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEpMCcG A1UECxMgVGhhd3RlIFBGIFJTQSBJSyAxOTk4LjkuMTYgMTc6NTUxNjA0BgNVBAMTLVRoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBSU0EgSXNzdWVyIDE5OTguOS4xNgIDAUDqMAkGBSsOAwIa BQCggbEwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNOTkwOTEx MjMwMzM1WjAjBgkqhkiG9w0BCQQxFgQUYflTpeAx2E60j/geQNkAVf9iNC0wUgYJKoZIhvcN AQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZIhvcN 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37DADFC5.3A8936B0>