xref: /original-bsd/sbin/mountd/mountd.8 (revision 1d37a0a0)
1.\" Copyright (c) 1989, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)mountd.8	5.7 (Berkeley) 11/11/91
7.\"
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
22is the server for
23.Tn NFS
24mount requests from other client machines.
25.Xr Mountd
26listens for service requests at the port indicated in the
27.Tn NFS
28server specification; see
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.
39This should only be specified if there are clients such as PC's,
40that require it.
41.It Ar exportsfile
42The
43.Ar exportsfile
44argument specifies an alternate location
45for the exports file.
46.El
47.Pp
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.
58.Sh FILES
59.Bl -tag -width /var/run/mountd.pid -compact
60.It Pa /etc/exports
61the list of exported filesystems
62.It Pa /var/run/mountd.pid
63the pid of the currently running mountd
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
76