From owner-freebsd-questions Wed Apr 3 20:58:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA23703 for questions-outgoing; Wed, 3 Apr 1996 20:58:51 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA23696 for ; Wed, 3 Apr 1996 20:58:49 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id VAA20879; Wed, 3 Apr 1996 21:54:28 -0700 From: Terry Lambert Message-Id: <199604040454.VAA20879@phaeton.artisoft.com> Subject: Re: NFS Mounts and Symbolic Links? To: deanj@region0.wpafb.af.mil (Dean, Jeffrey D) Date: Wed, 3 Apr 1996 21:54:28 -0700 (MST) Cc: questions@FreeBSD.org, schroerj@region0.wpafb.af.mil In-Reply-To: from "Dean, Jeffrey D" at Apr 3, 96 05:14:23 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I have created a handy directory with several symbolic links inside it. > After it exporting through NFS, I have come to find out that these symbolic > links are not being shared. Is their a way to correct this without > mount_null'ing these drives (since mount_null'ing is supposed to be > dangerous, and slightly unstable)? -OR- Is their a better way all-around to > do what I'm trying? Symlinks are evaluated by the client kernel (namei in vfs_lookup.c). You will need to maont the file systems containing the link targets on the clinets as well. Since you can't export a file system across a mount point, your "mount_null'ing" idea won't work anyway. If I have the link /home/foo -> /users1/home/foo, then I export the "/home", when a client lookups up "/home/foo", it will get pointed to "/users1/home/foo". Unless you have "/users1" mounted on the client as well, it won't find the link target locally. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.