From owner-freebsd-questions Thu Oct 31 14:37:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF40237B401 for ; Thu, 31 Oct 2002 14:37:20 -0800 (PST) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A1B743E77 for ; Thu, 31 Oct 2002 14:37:20 -0800 (PST) (envelope-from ukla@attbi.com) Received: from [192.168.1.100] ([24.130.182.29]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021031223720.MBEW27144.rwcrmhc52.attbi.com@[192.168.1.100]> for ; Thu, 31 Oct 2002 22:37:20 +0000 User-Agent: Microsoft-Entourage/9.0.2509 Date: Thu, 31 Oct 2002 14:37:20 -0800 Subject: Re: Separating the OS from the data [Addendum] From: Steve Warwick To: Message-ID: In-Reply-To: <3DC1AD20.1050304@cs.umu.se> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Addendum] Cvsup / makeworld: I apologize for missing that piece of information Yes, I could use the usual update procedure, however, this is a production machine. So my thought is: build a new OS on a staging machine, add required symlinks, pull the drive (sled) and slot it into the production machine. In THEORY it should be possible to do an upgrade in the time it takes to do a reboot. For server farms this would be a big benefit... Steve >> -- Problem: >> Separating OS from underlying data. Which parts of the BSD OS are not part >> of the initial, never modified OS? Or, which pieces of the OS change due to >> useage. > > [...snip...] > > Not a direct answer to your question, as I assume you want to reformat > the disk for every new installation, but... > > The easiest way to upgrade the OS is by using cvsup. Then you'll get > the changes of the source files, and after you've cvsup'ed you just > compile the sources and install them. > > It's as easy as this... > > cvsup sources > make buildworld > make buildkernel KERNCONF=KERNEL > mergemaster -p > make installkernel > reboot > make installworld > mergemaster > reboot(?) > > (If I remember the steps correct) > > No need to reformat the disk, no need to recreate symbolic links and > all is updated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message