The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: /etc/exports format
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 - mask

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 /etc/exports format   new
Mike Erickson 15-01-03 21:44 
 Re: /etc/exports format   new
Dan Langille 15-01-03 23:08 
 Re: /etc/exports format   new
Mike Erickson 30-01-03 14:28 
 file system or file management   new
wijanarto 21-12-04 00:44 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum