From owner-freebsd-questions Mon Dec 7 21:43:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14012 for freebsd-questions-outgoing; Mon, 7 Dec 1998 21:43:06 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from marvin.ece.utexas.edu (marvin.ece.utexas.edu [128.83.52.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA14007; Mon, 7 Dec 1998 21:43:04 -0800 (PST) (envelope-from bgrayson@marvin.ece.utexas.edu) Received: (from bgrayson@localhost) by marvin.ece.utexas.edu (8.8.8/8.6.9) id XAA08419; Mon, 7 Dec 1998 23:42:57 -0600 (CST) Message-ID: <19981207234256.A8409@marvin.ece.utexas.edu> Date: Mon, 7 Dec 1998 23:42:56 -0600 From: "Brian C. Grayson" To: Matthew Patton , freebsd-isp@FreeBSD.ORG Cc: freebsd-questions@FreeBSD.ORG Subject: Re: wild and crazy nfs mounts (on FreeBSD) References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: ; from Matthew Patton on Mon, Dec 07, 1998 at 05:19:06AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 07, 1998 at 05:19:06AM -0500, Matthew Patton wrote: > I was setting up such a server which has the following layout and hit upon > a nasty snag in the default /etc/rc.* series of scripts. > > sd0d /export/1 has FreeBSD and OpenBSD userland (./FreeBSD, ./OpenBSD/i386, > ./OpenBSD/sparc, ./openBSD/alpha) > sd0e /export/2 has Free and OpenBSD's src and ports trees (./FreeBSD/src, > ./FreeBSD/ports etc.) > sd1d /export/3 has common home directories and such > > so that my family of client machines mount /usr, /usr/src, /usr/ports and > whatnot in a transparent fashion, I don't see how I can get away without > loopback nfs mounting the latter 2 (on the server) if I want all machines > to be laid out the same way. On the server I can cheat and symlink > /export/1/uname to /usr. Though that is not ideal. Have you looked at non-NFS loopback mounts (mount_null)? I used them to mount /home/src as /usr/src etc. under NetBSD. Unfortunately, I believe there was some sort of race condition under NetBSD that caused occasional panics -- but maybe it has been fixed (or never was a problem) for FreeBSD! Since it doesn't require NFS, it may alleviate some of your ordering problems w.r.t. /etc/rc. I hope this helps! Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message