diff options
author | charnier <charnier@FreeBSD.org> | 1998-07-15 06:21:41 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1998-07-15 06:21:41 +0000 |
commit | 118387f5a90aec1681f4c2b06acb1de5193e1c4c (patch) | |
tree | a22603202d94f401b5831766c8f66a9943ac6e45 /sbin/mountd/mountd.8 | |
parent | 3b46a89ac7eeab6b9e68e89309a117c0092b5e7d (diff) | |
download | FreeBSD-src-118387f5a90aec1681f4c2b06acb1de5193e1c4c.zip FreeBSD-src-118387f5a90aec1681f4c2b06acb1de5193e1c4c.tar.gz |
Correct improper use of .Sm. Document -d flag. Correct use of .Nm. Remove
unused #includes. Add usage(). Use warnx(). Correct spelling. Abort when
malloc() fails.
Diffstat (limited to 'sbin/mountd/mountd.8')
-rw-r--r-- | sbin/mountd/mountd.8 | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/sbin/mountd/mountd.8 b/sbin/mountd/mountd.8 index 8dfdc7c..8467270 100644 --- a/sbin/mountd/mountd.8 +++ b/sbin/mountd/mountd.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)mountd.8 8.4 (Berkeley) 4/28/95 -.\" $Id: mountd.8,v 1.11 1997/12/09 18:43:44 guido Exp $ +.\" $Id: mountd.8,v 1.12 1997/12/10 20:33:58 guido Exp $ .\" .Dd April 28, 1995 .Dt MOUNTD 8 @@ -41,16 +41,15 @@ .Tn NFS mount requests .Sh SYNOPSIS -.Nm /sbin/mountd -.Op Fl 2lnr +.Nm mountd +.Op Fl 2dlnr .Op Ar exportsfile .Sh DESCRIPTION -.Xr Mountd +.Nm Mountd is the server for .Tn NFS mount requests from other client machines. -.Xr Mountd -listens for service requests at the port indicated in the +It listens for service requests at the port indicated in the .Tn NFS server specification; see .%T "Network File System Protocol Specification" , @@ -58,30 +57,27 @@ RFC1094, Appendix A and .%T "NFS: Network File System Version 3 Protocol Specification" , Appendix I. .Pp -Options and operands available for -.Nm mountd : -.Bl -tag -width Ds +The following options are available: +.Bl -tag -width indent .It Fl 2 -The -.Fl 2 -option allows the administrator to force clients to use only the -version 2 NFS protocol to mount filesystems from this server. +Allow the administrator to force clients to use only the +version 2 +.Tn NFS +protocol to mount filesystems from this server. +.It Fl d +Output debugging information. .It Fl l -The -.Fl l -option will cause all succeeded mountd requests to be logged. +Cause all succeeded +.Nm +requests to be logged. .It Fl n -The -.Fl n -option allows non-root mount requests to be served. +Allow non-root mount requests to be served. This should only be specified if there are clients such as PC's, that require it. It will automatically clear the vfs.nfs.nfs_privport sysctl flag, which -controls if the kernel will accept nfs requests form reserved ports only. +controls if the kernel will accept NFS requests form reserved ports only. .It Fl r -The -.Fl r -option allows mount RPCs requests for regular files to be served. +Allow mount RPCs requests for regular files to be served. Although this seems to violate the mount protocol specification, some diskless workstations do mount requests for their swapfiles and expect them to be regular files. @@ -92,25 +88,29 @@ will have to be exported with the .Fl alldirs flag. .It Ar exportsfile -The -.Ar exportsfile -argument specifies an alternate location +Specify an alternate location for the exports file. .El .Pp -When mountd is started, +When +.Nm +is started, it loads the export host addresses and options into the kernel using the 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 +daemon to get it to reload the export information. After sending the SIGHUP (kill \-s 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 +logged any parsing errors in the exports file. .Pp If -.Nm mountd +.Nm detects that the running kernel does not include .Tn NFS support, it will attempt to load a loadable kernel module containing @@ -122,7 +122,7 @@ by way of If this fails, or no .Tn NFS LKM was available, -.Nm mountd +.Nm exits with an error. .Sh FILES .Bl -tag -width /var/run/mountd.pid -compact @@ -142,6 +142,6 @@ the current list of remote mounted filesystems .Xr showmount 8 .Sh HISTORY The -.Nm mountd +.Nm utility first appeared in .Bx 4.4 . |