DragonFly BSD
DragonFly kernel List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How to use DFly sources via nfs?


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 4 Jun 2004 12:03:38 +0200

On Thu, Jun 03, 2004 at 02:59:18PM -0700, walt wrote:
> I now have two DFly machines and I'm trying to spare DFly some bandwidth
> by sharing the sources directory via nfs.
> 
> The problem is that quickworld halts immediately with missing file
> errors, obviously related to the /usr/src symlink.
> 
> I have /usr from the first machine nfs_mounted (ro) on /mnt on the 
> second machine.
> 
> I have /usr/src symlinked to /mnt/usr/src.
> 
> Is there an environment variable I need to set in order to make this
> work?  Any other requirements?

I'm not sure of an environment variable, but using symlinks for the build
location is very likely to hit bugs of one sort or the other.
Building in any location works fine IF you are using a real directory.
An alternative (untried) would be a read-only nullfs mount, from
/mnt/usr/src to /usr/src. This has the advantage of the working getcwd()
which the symlink doesn't have.

Joerg

> 
> Thanks!
> 



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]