Author: Dan Langille
Date: 15-01-03 23:08
Mike Erickson wrote:
> You say that all exports from a single fs must be
> exported on one line, man 5 exports says the following:
> 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 entry for each
> server filesystem that applies to all other hosts. The
> latter exports the filesystem to the ``world'' and should be
> used only when the filesystem contains public information.
I find the above unnecessarily difficult to comprehend. A fault easily fixed by a few practical examples. This is a fault I find common amongst many many man pages.
> I see this as allowing multiple exports on a filesystem on
> one line, but not requiring that all exports for a given file
> system must be on a single line. I have NFS exports from a
> single filesystem on multiple lines and it appears to work
> fine so far.
Have you been able to do the following on two lines?
/usr/ports /usr/ports/distfiles -maproot=0 -network 192.168.0.0 - mask 255.255.255.0