xref: /original-bsd/sbin/mountd/mountd.8 (revision deff14a8)
1.\" Copyright (c) 1989, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)mountd.8	8.2 (Berkeley) 08/17/94
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
36Do not require that clients make mount requests from reserved ports.
37(Normally, only mount requsts from reserved ports are accepted.)
38This option should only be specified if there are clients, such as PC's,
39that need it.
40.It Ar exportsfile
41The
42.Ar exportsfile
43argument specifies an alternate location
44for the exports file.
45.El
46.Pp
47When mountd is started,
48it loads the export host addresses and options into the kernel
49using the mount(2) system call.
50After changing the exports file,
51a hangup signal should be sent to the mountd daemon
52to get it to reload the export information.
53After sending the SIGHUP
54(kill -HUP `cat /var/run/mountd.pid`),
55check the syslog output to see if mountd logged any parsing
56errors in the exports file.
57.Sh FILES
58.Bl -tag -width /var/run/mountd.pid -compact
59.It Pa /etc/exports
60the list of exported filesystems
61.It Pa /var/run/mountd.pid
62the pid of the currently running mountd
63.El
64.Sh SEE ALSO
65.Xr nfsstat 1 ,
66.Xr exports 5 ,
67.Xr nfsd 8 ,
68.Xr portmap 8 ,
69.Xr showmount 8
70.Sh HISTORY
71The
72.Nm mountd
73utility first appeared in 4.4BSD.
74