Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 1996 09:27:02 +0000 ()
From:      Werner Griessl <croot@btp1da.phy.uni-bayreuth.de>
To:        blair@strech.cyber-naut.com (Blair Schmittel)
Cc:        questions@freebsd.org
Subject:   Re: Quick NFS question
Message-ID:  <199607250927.JAA16378@btp1da.phy.uni-bayreuth.de>
In-Reply-To: <199607242222.QAA19990@strech.cyber-naut.com> from Blair Schmittel at "Jul 24, 96 04:22:01 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hello;
> 
> I have a question on exporting NFS filesystems.  Is only possible to
> export partitions, such as /, and /usr.  What I want to do is export
> /usr/two, but I keep getting a permision denied error.
> 
> Thanks,
> Blair
> 

You can use the -alldirs option in /etc/exports .
For example
"/usr    -maproot=0 -alldirs hostlist"
will allow /usr/two to mount via nfs from hosts in hostlist.

Werner
P.S.: Don't forget to set "nfs_server=YES" in /etc/sysconfig !




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