Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 1999 14:07:00 +0930
From:      Greg Lehey <grog@lemis.com>
To:        william woods <wwoods@cybcon.com>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: NFS Mounted /usr/src make world....
Message-ID:  <19990923140700.T42271@freebie.lemis.com>
In-Reply-To: <99092221114902.03284@freebsd.cybcon.com>
References:  <99092220485401.03284@freebsd.cybcon.com> <19990923133414.S42271@freebie.lemis.com> <99092221114902.03284@freebsd.cybcon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, 22 September 1999 at 21:10:44 -0700, william woods wrote:
> On Wed, 22 Sep 1999, you wrote:
>> On Wednesday, 22 September 1999 at 20:44:59 -0700, william woods wrote:
>>> I have a system here where the disk is a bit small to hold both /usr/src and
>>> /usr/obj after a make world, but I have aneother system with a very large Hard
>>> drive.
>>>
>>> What I want to do Is mount the /usr/src and /usr/obj from system #1 via NFS on
>>> system #2 and do a make world for system #2. Does that make sence?
>>
>> Well, that's the way I do it for my test machines.
>>
>>> If so, how would I do this.
>>
>> I'm not sure I understand the question.  You've just described how to
>> do it.  Specifically, though, I mount a drive /src on all machines,
>> and then create a symlink /usr/src -> /src.  You have two choices with
>> /usr/obj:
>>
>> 1.  Don't create it, or let it be a directory.  The objects will be
>>     stored on the local machine.  This is a lot faster than putting
>>     everything on NFS, but you'll need about 220 MB free.
>>
>> 2.  Put it on the remote machine.  /usr/obj might point to /src/obj,
>>     which doesn't need to exist.
>
> Guess I need to explain myself better...that is WHAT I want to do, but HOW do I
> set up NFS connections.....

You create mount points on the client machine, export the file systems
on the server machine (see exports(5)), then do:

  # mount server:/src /src

More details in the online handbook.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990923140700.T42271>