From owner-freebsd-questions Tue Aug 31 15:15:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (Postfix) with ESMTP id ECB4014FCC for ; Tue, 31 Aug 1999 15:15:37 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id PAA36459 for ; Tue, 31 Aug 1999 15:14:40 -0700 (PDT) Date: Tue, 31 Aug 1999 15:14:40 -0700 (PDT) From: Annelise Anderson To: freebsd-questions@freebsd.org Subject: Building world on another drive Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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