OpenBSD manual page server

Manual Page Search Parameters

MOUNTD(8) System Manager's Manual MOUNTD(8)

mountdservice remote NFS mount requests

mountd [-dn] [exportsfile]

mountd is the server for NFS mount requests from other client machines. mountd listens for service requests at the port indicated in the NFS server specification; see Network File System Protocol Specification, RFC 1094, Appendix A and NFS: Network File System Version 3 Protocol Specification, Appendix I.

The options are as follows:

Enable debugging mode. mountd will not detach from the controlling terminal and will print debugging messages to stderr.
Do not require that clients make mount requests from reserved ports. (Normally, only mount requests from reserved ports are accepted.) This option should only be specified if there are clients, such as PCs, that need it. The use of -n is STRONGLY discouraged, as it opens up a wide range of security problems.
exportsfile
The exportsfile argument specifies an alternate location for the exports file.

When mountd 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 to get it to reload the export information. After sending the SIGHUP (kill -HUP `cat /var/run/mountd.pid`), check the syslog output to see if mountd logged any parsing errors in the exports file.

/etc/exports
list of exported filesystems
/var/run/mountd.pid
PID of the currently running mountd

nfsstat(1), exports(5), nfsd(8), portmap(8), showmount(8)

The mountd utility first appeared in 4.4BSD.

January 19, 2014 OpenBSD-5.6