From owner-freebsd-current Wed Apr 5 20:48: 8 2000 Delivered-To: freebsd-current@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 7E8B137B997 for ; Wed, 5 Apr 2000 20:48:03 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id XAA69869; Wed, 5 Apr 2000 23:47:45 -0400 (EDT) (envelope-from chuckr@picnic.mat.net) Date: Wed, 5 Apr 2000 23:47:45 -0400 (EDT) From: Chuck Robey To: Yu Guo/PEK/Lotus Cc: "Andrzej Bialecki , freebsd-current Subject: Re: Installworld to /some/where/... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 6 Apr 2000, Yu Guo/PEK/Lotus wrote: > > Just do a > make DESTDIR=/mnt/installdir installworld > Or remotely mount /usr/obj and /usr/src, and do 15 make installworlds on 15 machines. In fact, I'm not totally sure that first method works, because I think that perl, at least, records the name of DESTDIR during the 'make buildworld' so moving DESTDIR only in installworld, that might bomb later when you ran it. In fact, I think that will happen, and to cc1 (of gcc) also, because the 'specs' get set during buildworld, don't they? The above would only be safe, I think, if you did the make buildworld with the same DESTDIR. Anyone know if that's true? > > Hi, > > Is it possible to do an installworld not to / of existing system, but to, > say, subdirs somewhere, which could be mountpoints for another disk? > Something like: > > /mnt/installdir/ > /mnt/installdir/compat > /mnt/installdir/etc > /mnt/installdir/usr > /mnt/installdir/var > /mnt/installdir/ > > The reason I'm asking is that I'm looking for a method to easily > clone/upgrade a bunch of servers without having to do 'make world' on all > of them. I'm not satisfied either with using dd - the machines are not > identical, there are some bits and pieces of config specific to each > machine. So far the best method was to do a make world, but it becomes > more and more a nuisance and waste of time... > > > Andrzej Bialecki > > // WebGiro AB, Sweden (http://www.webgiro.com) > // ------------------------------------------------------------------- > // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- > // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message