OpenBSD manual page server

Manual Page Search Parameters

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

mountdservice remote NFS mount requests

mountd [-d] [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.
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.

The -n flag historically allowed clients to use non-reserved ports when communicating with mountd. In OpenBSD, a reserved port is always used.

August 24, 2014 OpenBSD-5.8