Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ exports(5) — bsd — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exportfs(8)

showmount(8)

EXPORTS(5)                      Domain/OS BSD                       EXPORTS(5)



NAME
     exports, xtab - files specifying mountable file systems

SYNOPSIS
     /etc/exports

     /etc/xtab

DESCRIPTION
     The /etc/exports file contains a list of file system names that can be
     exported to Domain NFS clients.  This file is read automatically by the
     exportfs command.  If you change this file, you must run exportfs to
     affect the daemon's operation.

     The /etc/xtab file contains entries for currently exported file systems.
     This file should only be accessed by programs using getexportent.  (Use
     the -u option of exportfs to remove entries from this file.)

     Each entry in the /etc/exports file follows this format:

               file_system  -option[,option] ...

     where

     file_system
               is the pathname of the mountable file system.  Each file system
               name must appear at the beginning of a line.

     option    is one of the following, separated by commas.

               anon=uid    If a request comes from an unknown user, use uid as
                           the effective user ID.  Note that root users (uid
                           0) are always considered unknown by the NFS server
                           unless they are included in the root option.  If
                           the anon option is absent, the NFS server treats
                           requests from unknown users as if they are from
                           user.none.none.  Setting anon to 0 gives root
                           access to everyone.

               root=host[:host] ...
                           Give root access only to the root users from the
                           specified host.  If the network system uses named,
                           the names of the hosts must be the fully qualified
                           host name.  The default is for no hosts to be
                           granted root access.

               access=host[:host] ...
                           Give mount access to each host listed.  If the
                           network system uses named, the names of the hosts
                           must be the fully qualified host name.  The default
                           allows any host to mount the given file system.

     Entries may be continued over several lines, as long as the first column
     in the line remains blank.  Host names may not be split across lines.
     All text from a pound sign (#) to the end of the line is treated as a
     comment.  A system administrator typically maintains /etc/exports.

     The showmount -e command prints the contents of /etc/exports and
     /etc/xtab.

EXAMPLES
     Following are examples of /etc/exports entries:

     //alewife                       # access for everyone

     //alewife -root=porter:harvard,access=porter:harvard:haymarket
                                     # root access for porter and harvard
                                     # access for porter, harvard, and haymarket

     //alewife -anon=0               # root access for all hosts

     //alewife -access=porter.ch.apollo.hp.com
                                     # use the fully qualified host name
                                     # for systems running named

LIMITATION
     There is no provision for using netgroups with Domain NFS.

FILES
     /etc/exports

     /etc/xtab

SEE ALSO
     exportfs(8), showmount(8)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026