From owner-freebsd-questions Tue Dec 17 17:50:17 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 D71D337B401 for ; Tue, 17 Dec 2002 17:50:15 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58AA343E4A for ; Tue, 17 Dec 2002 17:50:15 -0800 (PST) (envelope-from kstewart@owt.com) Received: from owt-207-41-94-233.owt.com (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id RAA20110; Tue, 17 Dec 2002 17:50:05 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Kent Stewart To: Matthew Seaman , freebsd-questions@FreeBSD.ORG Subject: Re: how to change installworld installation root directory? Date: Tue, 17 Dec 2002 17:50:07 -0800 User-Agent: KMail/1.4.3 References: <20021217155100.GB34511@happy-idiot-talk.infracaninophi> In-Reply-To: <20021217155100.GB34511@happy-idiot-talk.infracaninophi> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212171750.07541.kstewart@owt.com> 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 On Tuesday 17 December 2002 07:51 am, Matthew Seaman wrote: > On Tue, Dec 17, 2002 at 05:40:59PM +0200, Evren Yurtesen wrote: > > Is it possible to mount a hard drive and make installworld so that > > the installation will install everything under this directory where > > the hard drive is mounted? Something like /mnt instead of / for > > example? > > Sure: > > make installworld DESTDIR=3D/mnt > > installs everything relative to /mnt instead of / --- see jail(8) for > some examples of doing just that. > What I do is create /usr/src and /usr/obj as their own 1.5 GB=20 partitions. That is 4-5x larger than I need. Then, I can NFS_mount them=20 on any system as /usr/src and /usr/obj. You don't have to play games=20 with names, DESTDIR, or etc.=20 For the purpose of build speed I put them on HDs with their own UDMA=20 controllers. Kent --=20 Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message