Commit | Line | Data |
---|---|---|
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 | |
15 | mount requests | |
16 | .Sh SYNOPSIS | |
17 | .Nm /sbin/mountd | |
18 | .Op Fl n | |
19 | .Op Ar exportsfile | |
20 | .Sh DESCRIPTION | |
21 | .Xr Mountd | |
b75c6970 | 22 | is the server for |
70567b1c | 23 | .Tn NFS |
b75c6970 | 24 | mount requests from other client machines. |
70567b1c | 25 | .Xr Mountd |
b75c6970 | 26 | listens for service requests at the port indicated in the |
70567b1c | 27 | .Tn NFS |
b75c6970 | 28 | server specification; see |
70567b1c CL |
29 | .%T "Network File System Protocol Specification" , |
30 | RFC1094. | |
31 | .Pp | |
32 | Options and operands available for | |
33 | .Nm mountd : | |
34 | .Bl -tag -width Ds | |
35 | .It Fl n | |
36 | The | |
37 | .Fl n | |
38 | option allows non-root mount requests to be served. | |
e7ae026a KM |
39 | This should only be specified if there are clients such as PC's, |
40 | that require it. | |
d3c79003 | 41 | .It Ar exportsfile |
70567b1c CL |
42 | The |
43 | .Ar exportsfile | |
44 | argument specifies an alternate location | |
e7ae026a | 45 | for the exports file. |
70567b1c CL |
46 | .El |
47 | .Pp | |
d3c79003 KM |
48 | When mountd is started, |
49 | it loads the export host addresses and options into the kernel | |
50 | using the mount(2) system call. | |
51 | After changing the exports file, | |
52 | a hangup signal should be sent to the mountd daemon | |
53 | to get it to reload the export information. | |
54 | After sending the SIGHUP | |
55 | (kill -HUP `cat /var/run/mountd.pid`), | |
56 | check the syslog output to see if mountd logged any parsing | |
57 | errors 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 |
61 | the list of exported filesystems |
62 | .It Pa /var/run/mountd.pid | |
63 | the 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 | |
72 | The | |
73 | .Nm | |
74 | command | |
75 | .Ud |