From owner-freebsd-questions Thu Jun 12 04:45:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24185 for questions-outgoing; Thu, 12 Jun 1997 04:45:49 -0700 (PDT) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA24176 for ; Thu, 12 Jun 1997 04:45:38 -0700 (PDT) Received: by mail.EUnet.hu, id NAA17594; Thu, 12 Jun 1997 13:45:28 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id NAA00559; Thu, 12 Jun 1997 13:13:48 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199706121113.NAA00559@CoDe.hu> Subject: Re: old question of upgrades To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Thu, 12 Jun 1997 13:13:48 +0200 (MET DST) Cc: ihc@winternet.com In-Reply-To: from Ing at "Jun 10, 97 03:42:50 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm sure this is an old question that y'all have heard many times, but i > didn't find an answer to the old question of "how do i upgrade without > wiping my old files" in the mail archives. If someone could mail me these > instructions, it would be much appreciated. I'd like to upgrade from > 2.2.1-RELEASE to 2.2.2-RELEASE without losing /etc, /var, and /usr. Download the 2.2.2 boot floppy, reboot, and use the upgrade procedure. That's it. (Well, I made it only 2.1.0-SNAP -> 2.1.0, -> 2.1.5 -> 2.2.1, but I think, nothing important is changed, only that in 2.2.2, instead of /etc/sysconfig, there is a new file (I think) /etc/rc.config, and you has to make an /etc/login.conf (man login.conf, or download it from ftp.freebsd.org). Bye, Gabor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"