Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 1996 20:23:00 +0200 (MET DST)
From:      guido@gvr.win.tue.nl (Guido van Rooij)
To:        terry@lambert.org (Terry Lambert)
Cc:        compland@ism.com.br, terry@lambert.org, questions@FreeBSD.org
Subject:   Re: NFS
Message-ID:  <199605131823.UAA02686@gvr.win.tue.nl>
In-Reply-To: <199605102139.OAA02827@phaeton.artisoft.com> from "Terry Lambert" at May 10, 96 02:39:14 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> 
> You must explicitly export the directory.  Look at the "mountd" man
> page.
> 
> (I assume you are worried about the users mounting the FS further up
> in the export, since the FS is mounted on "/usr" on the server, right?).

The kernel does not know what port of the filesystem is being exported.
Only mountd knows it. Once you have the nfs handle for the specific
subdir you get chdir(".."). Of course your need some client
code for that, but that is not to difficult.

The only way to prevent this is that the kernel holds a table of exported
directories. Sun has this and when you think of it, it also explains
why exported subdirectories should be disjunct.

-Guido



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