Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 1999 03:30:44 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Tim Vanderhoek <vanderh@ecf.utoronto.ca>
Cc:        Wes Peters <wes@softweyr.com>, "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, hackers@FreeBSD.ORG
Subject:   Re: Using legacy sysinstall to upgrade live system 
Message-ID:  <36189.934421444@axl.noc.iafrica.com>
In-Reply-To: Your message of "Wed, 11 Aug 1999 20:34:59 -0400." <19990811203459.B38401@mad> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36189.934421444>