From owner-freebsd-questions Wed Sep 1 3:50:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from logatome.micronet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id 0D86414BE1 for ; Wed, 1 Sep 1999 03:50:11 -0700 (PDT) (envelope-from e-masson@kisoft-services.com) Received: from kisoft-services.com (Nantes5.francenet.net [193.149.110.69]) by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id MAA26418; Wed, 1 Sep 1999 12:44:51 +0200 (CEST) Message-ID: <37CCD963.FF60C369@kisoft-services.com> Date: Wed, 01 Sep 1999 09:44:35 +0200 From: Eric MASSON Organization: Kisoft Services X-Mailer: Mozilla 4.6 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: Annelise Anderson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Building world on another drive References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Depending on shell you use, (csh here) setenv MAKEOBJDIRPREFIX /usr0/obj make world You must set it as environment variable. Bye Eric MASSON Annelise Anderson a écrit : > > I have two hard drives, each of which has a bootable > installation of FreeBSD. > > I have sources on the second hard drive in /usr0/src, > and would like to do a "make buildworld" in that directory and > have the obj directory be /usr0/obj. > > If I edit Makefile.inc0 in /usr0/src and change the line > > MAKEOBJDIRPREFIX?=/usr/obj > > to > > MAKEOBJDIRPREFIX=/usr0/obj > > or > > MAKEOBJDIRPREFIX?=/usr0/obj > > the buildworld writes to /usr/obj/usr0, in fact to /usr/obj/usr0/src. > > So obviously there's something here I don't understand; what should I > be doing? and once built in /usr0/obj, how would I do in /usr0/src > a "make installworld" so the installation gets done on this second > drive rather than on the first drive? > > I am aware that I can reboot to the second drive and do it that way, > but I want to do it while FreeBSD is running from the first drive. > > Thanks very much. > > Annelise > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Any opinions expressed above | Murphy's Law Corollary : are my own, not Kisoft's | Murphy was an optimist. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message