4.4BSD/usr/share/man/cat8/mount_portal.0

Compare this file to the similar file:
Show the results in this format:

MOUNT_PORTAL(8)           BSD System Manager's Manual          MOUNT_PORTAL(8)

NNAAMMEE
     mmoouunntt__ppoorrttaall - mount the portal daemon

SSYYNNOOPPSSIISS
     mmoouunntt__ppoorrttaall [--FF --ffssooppttiioonnss] _/_e_t_c_/_p_o_r_t_a_l_._c_o_n_f _m_o_u_n_t___p_o_i_n_t

DDEESSCCRRIIPPTTIIOONN
     The mmoouunntt__ppoorrttaall command attaches an instance of the portal daemon to the
     global filesystem namespace.  The conventional mount point is _/_p. This
     command is normally executed by mount(8) at boot time.

     The portal daemon provides an service.  Objects opened under the portal
     mount point are dynamically created by the portal daemon according to
     rules specified in the named configuration file.  Using this mechanism
     allows descriptors such as sockets to be made available in the filesystem
     namespace.

     The portal daemon works by being passed the full pathname of the object
     being opened.  The daemon creates an appropriate descriptor according to
     the rules in the configuration file, and then passes the descriptor back
     to the calling process as the result of the open system call.

NNAAMMEESSPPAACCEE
     By convention, the portal daemon divides the namespace into sub-
     namespaces, each of which handles objects of a particular type.

     Current, two sub-namespaces are implemented: _t_c_p and _f_s. The _t_c_p names-
     pace takes a hostname and a port (slash separated) and creates an open
     TCP/IP connection.  The _f_s namespace opens the named file, starting back
     at the root directory.  This can be used to provide a controlled escape
     path from a chrooted environment.

CCOONNFFIIGGUURRAATTIIOONN FFIILLEE
     The configuration file contains a list of rules.  Each rule takes one
     line and consists of two or more whitespace separated fields.  A hash
     (``#'') character causes the remainder of a line to be ignored.  Blank
     lines are ignored.

     The first field is a pathname prefix to match against the requested path-
     name.  If a match is found, the second field tells the daemon what type
     of object to create.  Subsequent fields are passed to the creation func-
     tion.

     # @(#)portal.conf       5.1 (Berkeley) 7/13/92
     tcp/            tcp tcp/
     fs/             file fs/

FFIILLEESS
     /p/*

SSEEEE AALLSSOO
     mount(2),  unmount(2),  fstab(5)

CCAAVVEEAATTSS
     This filesystem may not be NFS-exported.

HHIISSTTOORRYY
     The mmoouunntt__ppoorrttaall utility first appeared in 4.4BSD.

4.4BSD                           June 9, 1993                                1