EXPORTFS(4) Kernel Interfaces Manual EXPORTFS(4)
exportfs, srvfs - network file server plumbing
exportfs [ -an ] [ -c ctlfile ]
srvfs name dir
Exportfs is a user level file server that allows Plan 9 compute
servers, rather than file servers, to export portions of a name space
across networks. The service is started either by the cpu(1) command
or by a network listener process. An initial protocol establishes a
root directory for the exported name space. The connection to exportfs
is then mounted, typically on /mnt/term. Exportfs then acts as a relay
file server: operations in the imported file tree are executed on the
remote server and the results returned. This gives the appearance of
exporting a name space from a remote machine into a local file tree.
The -a option instructs exportfs to authenticate the user, usually
because it is being invoked from a remote machine.
The -n option disallows export to user none.
The -c options specifies a network control file onto which exportfs
will push the fcall line discipline. This option is intended for net-
works that do not preserve read/write boundaries.
The cpu command uses exportfs to serve device files in the terminal.
The import(4) command calls exportfs on a remote machine, permitting
users to access arbitrary pieces of name space on other systems.
Srvfs uses exportfs to create a mountable file system from a name
space: a subsequent mount (see bind(1)) of /srv/name will reproduce the
name space rooted at dir. One might use srvfs to enable mounting of an
FTP file system (see ftpfs(4)) in several windows.