Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 1999 09:44:01 +0400 (MSD)
From:      "Sergey Ayukov (mailing lists)" <asv1@crydee.sai.msu.ru>
To:        questions@FreeBSD.ORG
Subject:   Re: NFSD limitations?
Message-ID:  <Pine.BSF.4.05.9905050935400.25897-100000@crydee.sai.msu.ru>
In-Reply-To: <199905050210.WAA00620@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 May 1999, Crist J. Clark wrote:

> > > > > 1) I can't export directories which are not local mount point. E.g., I
> > > > > have disk mounted on /vol1 and want to export only /vol1/ftp . Is this
> > > > > possible (if I try to export /vol1/ftp/.1, mountd complains about wrong
> > > > > mount point)? Even worse, I need to export /var/spool for pcnsfd printing,
> > > > > but don't want to export entire /var. In my case, /var is on separate
> > > > > partition.
> > > > 
> > > > It can be done.  Try using the '-alldirs' flag first; this will let you
> > > > mount /vol1 and any subtree, including /vol1/ftp.
> > > 
> > > No, my point was to limit the export. In other words, I don't want to
> > > export entire /var or /vol1, just parts of them (which are not
> > > mountpoints).
> > 
> > I think there is a way to do this using overlapping specifications (/usr
> > then /usr/local), but I'm not sure.
> 
> The 'man exports' page is by no means a model of clarity. But focus
> on,
> 
>      Each line in the file (other than comment lines that begin with a #)
>      specifies the mount point(s) and export flags within one local server
>      filesystem for one or more hosts.  A host may be specified only once for
>      each local filesystem on the server and there may be only one default en-
>      try for each server filesystem that applies to all other hosts.
> 
> If you want to export /var/spool, just,
> 
> /var/spool  -options  hosts
> 
> Nothing complicated there. However, what people have trouble with is

It does not work! mountd refuses to export it (note that I have local
filesystem mounted under /var, and I can export /var, but not /var/spool).
I am running 3.1-RELEASE.

---------------------------------------------------------------------------
Dr. Sergey Ayukov                          Sternberg Astronomical Institute
http://www.ayukov.com                                        Moscow, Russia
http://crydee.sai.msu.ru/index-asv.html



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905050935400.25897-100000>