From owner-freebsd-hackers Wed Aug 11 18:32:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 192EC14E4D for ; Wed, 11 Aug 1999 18:32:44 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11Ejhc-0009Pi-00; Thu, 12 Aug 1999 03:30:44 +0200 From: Sheldon Hearn To: Tim Vanderhoek Cc: Wes Peters , "Jordan K. Hubbard" , hackers@FreeBSD.ORG Subject: Re: Using legacy sysinstall to upgrade live system In-reply-to: Your message of "Wed, 11 Aug 1999 20:34:59 -0400." <19990811203459.B38401@mad> Date: Thu, 12 Aug 1999 03:30:44 +0200 Message-ID: <36189.934421444@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 11 Aug 1999 20:34:59 -0400, Tim Vanderhoek wrote: > I suggest that it would be beneficial for you to let them shoot off > their feet... I have used legacy sysinstall to upgrade a live > multiuser system before and will probably do so again. Hair-raising. :-) Anyway, I've snuffled around in the code and I think I'd have to teach sysinstall what release it was built for before producing as comprehensive a warning as Wes was talking about. That'd be easy if I knew how VAR_RELNAME gets initialized. My take on the code made me think it's via kern.osrelease, but that doesn't seem to be the case. I've attached the diff I have on hand, but I'd obviously like to know how to do this properly. > Hmm... "bleet"'s not in esr's hacker dictionary. My original spelling was "bleat". Ciao, Sheldon. Index: options.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/options.c,v retrieving revision 1.62 diff -u -d -r1.62 options.c --- options.c 1999/08/05 19:50:26 1.62 +++ options.c 1999/08/12 01:04:16 @@ -95,7 +95,10 @@ #define TAPE_PROMPT "Please enter the tape block size in 512 byte blocks:" #define NEWFS_PROMPT "Please enter newfs(8) parameters:" -#define RELNAME_PROMPT "Please specify the release you wish to load or\n\"none\" for a generic release install:" +#define RELNAME_PROMPT "Please specify the release you wish to load or " \ + "\"none\" for a\ngeneric release install. Using an installed version " \ + "of sysinstall\nto install or upgrade to later releases is not " \ + "recommended." #define BPKG_PROMPT "Please specify the name of the HTML browser package:" #define BBIN_PROMPT "Please specify a full pathname to the HTML browser binary:" #define EDITOR_PROMPT "Please specify the name of the text editor you wish to use:" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message