diff options
Diffstat (limited to 'sbin/mount_portal/mount_portal.8')
-rw-r--r-- | sbin/mount_portal/mount_portal.8 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sbin/mount_portal/mount_portal.8 b/sbin/mount_portal/mount_portal.8 index ed9434e..5a5750f 100644 --- a/sbin/mount_portal/mount_portal.8 +++ b/sbin/mount_portal/mount_portal.8 @@ -35,7 +35,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94 -.\" $Id$ +.\" $Id: mount_portal.8,v 1.3 1998/07/06 07:19:25 charnier Exp $ .\" .Dd March 27, 1994 .Dt MOUNT_PORTAL 8 @@ -89,11 +89,22 @@ to the calling process as the result of the open system call. By convention, the portal daemon divides the namespace into sub-namespaces, each of which handles objects of a particular type. .Pp -Currently, two sub-namespaces are implemented: +The following sub-namespaces are currently implemented: +.Pa tcplisten , .Pa tcp and .Pa fs . The +.Pa tcplisten +namespace takes a slash separated hostname and port and creates a TCP/IP +socket bound to the given hostname-port pair. The hostname may be +specified as "ANY" to allow any other host to connect to the socket. A +port number of 0 will dynamically allocate a port, this can be +discovered by calling +.Xr getsockname 8 +with the returned file descriptor. Privilaged ports can only be bound to +by the super-user. +The .Pa tcp namespace takes a hostname and a port (slash separated) and creates an open TCP/IP connection. @@ -116,6 +127,7 @@ tells the daemon what type of object to create. Subsequent fields are passed to the creation function. .Bd -literal # @(#)portal.conf 5.1 (Berkeley) 7/13/92 +tcplisten/ tcplisten tcplisten/ tcp/ tcp tcp/ fs/ file fs/ .Ed |