4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / sbin / mountd / mountd.8
CommitLineData
70567b1c 1.\" Copyright (c) 1989, 1991 The Regents of the University of California.
b75c6970
KM
2.\" All rights reserved.
3.\"
c9dd17fb 4.\" %sccs.include.redist.man%
b75c6970 5.\"
1d200db2 6.\" @(#)mountd.8 8.1 (Berkeley) %G%
b75c6970 7.\"
70567b1c
CL
8.Dd
9.Dt MOUNTD 8
10.Os
11.Sh NAME
12.Nm mountd
13.Nd service remote
14.Tn NFS
15mount requests
16.Sh SYNOPSIS
17.Nm /sbin/mountd
18.Op Fl n
19.Op Ar exportsfile
20.Sh DESCRIPTION
21.Xr Mountd
b75c6970 22is the server for
70567b1c 23.Tn NFS
b75c6970 24mount requests from other client machines.
70567b1c 25.Xr Mountd
b75c6970 26listens for service requests at the port indicated in the
70567b1c 27.Tn NFS
b75c6970 28server specification; see
70567b1c
CL
29.%T "Network File System Protocol Specification" ,
30RFC1094.
31.Pp
32Options and operands available for
33.Nm mountd :
34.Bl -tag -width Ds
35.It Fl n
36The
37.Fl n
38option allows non-root mount requests to be served.
e7ae026a
KM
39This should only be specified if there are clients such as PC's,
40that require it.
d3c79003 41.It Ar exportsfile
70567b1c
CL
42The
43.Ar exportsfile
44argument specifies an alternate location
e7ae026a 45for the exports file.
70567b1c
CL
46.El
47.Pp
d3c79003
KM
48When mountd is started,
49it loads the export host addresses and options into the kernel
50using the mount(2) system call.
51After changing the exports file,
52a hangup signal should be sent to the mountd daemon
53to get it to reload the export information.
54After sending the SIGHUP
55(kill -HUP `cat /var/run/mountd.pid`),
56check the syslog output to see if mountd logged any parsing
57errors in the exports file.
70567b1c 58.Sh FILES
d3c79003 59.Bl -tag -width /var/run/mountd.pid -compact
70567b1c 60.It Pa /etc/exports
d3c79003
KM
61the list of exported filesystems
62.It Pa /var/run/mountd.pid
63the pid of the currently running mountd
70567b1c
CL
64.El
65.Sh SEE ALSO
66.Xr nfsstat 1 ,
67.Xr exports 5 ,
68.Xr nfsd 8 ,
69.Xr portmap 8 ,
70.Xr showmount 8
71.Sh HISTORY
72The
73.Nm
74command
75.Ud