diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1998-09-17 04:15:04 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1998-09-17 04:15:04 +0000 |
commit | afa9f8ccda18c5ff879f432ae6f0b9a601b992b3 (patch) | |
tree | 8356bdc65590449d1a86d64a309c95681f802ad2 /sbin/mountd | |
parent | 90e9edeb57b7efe3b1aba0ddeda30341b7e9fd0c (diff) |
sbin/ man page fixes
Diffstat (limited to 'sbin/mountd')
-rw-r--r-- | sbin/mountd/exports.5 | 18 | ||||
-rw-r--r-- | sbin/mountd/mountd.8 | 30 |
2 files changed, 29 insertions, 19 deletions
diff --git a/sbin/mountd/exports.5 b/sbin/mountd/exports.5 index 607aec32414..18c8f1992e6 100644 --- a/sbin/mountd/exports.5 +++ b/sbin/mountd/exports.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: exports.5,v 1.4 1998/07/20 17:04:52 deraadt Exp $ +.\" $OpenBSD: exports.5,v 1.5 1998/09/17 04:14:56 aaron Exp $ .\" $NetBSD: exports.5,v 1.9 1996/02/18 11:57:50 fvdl Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -86,7 +86,7 @@ different sets of hosts and export options. The second component of a line specifies how the filesystem is to be exported to the host set. The option flags specify whether the filesystem -is exported read-only or read-write and how the client uid is mapped to +is exported read-only or read-write and how the client UID is mapped to user credentials on the server. .Pp Export options are specified as follows: @@ -116,7 +116,7 @@ or .Sm off .Fl mapall No = Sy user:group1:group2:... .Sm on -specifies a mapping for all client uids (including root) +Specifies a mapping for all client UIDs (including root) using the same semantics as .Fl maproot . .Pp @@ -209,9 +209,11 @@ local filesystem mount points, the above example specifies the following: .Sy /usr is exported to hosts .Em friends -where friends is specified in the netgroup file +where +.Em friends +is specified in the netgroup file with users mapped to their remote credentials and -root mapped to uid 0 and group 10. +root mapped to UID 0 and GID 10. It is exported read-write and the hosts in ``friends'' can mount either /usr or /usr/local. It is exported to @@ -226,13 +228,13 @@ all users mapped to the user and groups associated with ``nobody''. .Sy /u is exported to all hosts on the subnetwork .Em 131.104.48 -with root mapped to the uid for ``bin'' and with no group access. +with root mapped to the UID for ``bin'' and with no group access. .Pp .Sy /u2 -is exported to the hosts in ``friends'' with root mapped to uid and groups +is exported to the hosts in ``friends'' with root mapped to UID and groups associated with ``root''; it is exported to all hosts on network ``cis-net'' allowing mounts at any -directory within /u2 and mapping all uids to credentials for the principal +directory within /u2 and mapping all UIDs to credentials for the principal that is authenticated by a Kerberos ticket. .Sh FILES .Bl -tag -width /etc/exports -compact diff --git a/sbin/mountd/mountd.8 b/sbin/mountd/mountd.8 index c5a6a1d24d4..5ae56a2c233 100644 --- a/sbin/mountd/mountd.8 +++ b/sbin/mountd/mountd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mountd.8,v 1.9 1998/09/13 03:50:23 aaron Exp $ +.\" $OpenBSD: mountd.8,v 1.10 1998/09/17 04:14:56 aaron Exp $ .\" $NetBSD: mountd.8,v 1.11 1996/02/18 11:57:51 fvdl Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -47,11 +47,11 @@ mount requests .Op Fl dn .Op Ar exportsfile .Sh DESCRIPTION -.Nm Mountd +.Nm mountd is the server for .Tn NFS mount requests from other client machines. -.Nm Mountd +.Nm mountd listens for service requests at the port indicated in the .Tn NFS server specification; see @@ -65,13 +65,13 @@ Options and operands available for .Bl -tag -width Ds .It Fl d Enable debugging mode. -.Nm Mountd +.Nm mountd will not detach from the controlling terminal and will print debugging messages to stderr. .It Fl n Do not require that clients make mount requests from reserved ports. (Normally, only mount requests from reserved ports are accepted.) -This option should only be specified if there are clients, such as PC's, +This option should only be specified if there are clients, such as PCs, that need it. The use of .Fl n @@ -83,24 +83,32 @@ argument specifies an alternate location for the exports file. .El .Pp -When mountd is started, +When +.Nm mountd +is started, it loads the export host addresses and options into the kernel using the .Xr mount 2 system call. After changing the exports file, -a hangup signal should be sent to the mountd daemon +a hangup signal should be sent to the +.Nm mountd +daemon to get it to reload the export information. -After sending the SIGHUP +After sending the +.Dv SIGHUP (kill \-HUP `cat /var/run/mountd.pid`), -check the syslog output to see if mountd logged any parsing +check the syslog output to see if +.Nm mountd +logged any parsing errors in the exports file. .Sh FILES .Bl -tag -width /var/run/mountd.pid -compact .It Pa /etc/exports -the list of exported filesystems +list of exported filesystems .It Pa /var/run/mountd.pid -the pid of the currently running mountd +PID of the currently running +.Nm mountd .El .Sh SEE ALSO .Xr nfsstat 1 , |