From owner-freebsd-stable Tue Feb 6 22:31: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 2318F37B491 for ; Tue, 6 Feb 2001 22:30:47 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 6 Feb 2001 22:28:39 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f176TF015856; Tue, 6 Feb 2001 22:29:15 -0800 (PST) (envelope-from cjc) Date: Tue, 6 Feb 2001 22:29:04 -0800 From: "Crist J. Clark" To: Alfred Perlstein Cc: Mike Bytnar , FreeBSD Subject: Re: 'make installworld' fails over NFS mount Message-ID: <20010206222904.J91447@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <3A808528.C51E4FBF@auvo.com> <20010206155841.C26076@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010206155841.C26076@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Feb 06, 2001 at 03:58:41PM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 06, 2001 at 03:58:41PM -0800, Alfred Perlstein wrote: > * Mike Bytnar [010206 15:15] wrote: [snip] > > Is there a workaround for this problem? > > Yes. > > This bug has been in the tree for quite some time now, basically > you have to have the nfs mount over the same location as the nfs > server's build location. > > so if on the server you really have: > > /usr/src -> /vol/src > /usr/obj -> /vol/obj > > on the client you'll need to have > > /usr/src -> /vol/src > /usr/obj -> /vol/obj > > and you'll need to mount the nfs share on /vol/src and /vol/obj on > the client otherwise it breaks. > > Btw, this bug is terribly annoying, it's been around for so long > that I've given up on tracking down how/where it happened and > who did it. If anyone can figure out a way to fix this, it'd be > nice. You may or may not be aware, but you can get around a lot of this using symlinks. My "/usr/src" lives at /export/stable/src on the build machine; "/usr/obj" is in its default location. On the client, I NFS mount "/usr/src" and "/usr/obj" at /usr/src and /usr/obj, but to get the install to work, # cd /usr/obj # mkdir -p usr # cd usr # ln -s ../exports/stable/src . But yeah, this all seems silly and annoying. Why bother with having the "/usr/src" path above "/usr/obj" during the build process? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message