mountd Daemon

Purpose

Answers requests from clients for file system mounts.

Syntax

/usr/sbin/rpc.mountd [ -n ] [ -N ]

Description

The mountd daemon is a Remote Procedure Call (RPC) that answers a client request to mount a file system. The mountd daemon finds out which file systems are available by reading the /etc/xtab file.

In addition, the mountd daemon provides a list of currently mounted file systems and the clients on which they are mounted. You can display this list by using the showmount command.

The mountd daemon listens for requests on the port specified in the /etc/services file for the service mountd. If the /etc/services file does not specify a port, one will be chosen when the daemon starts. For example, adding the lines:
mountd   6666/tcp 
mountd   6666/udp
will cause mountd to listen for requests on port 6666.

Examples

The mountd daemon is started from the /etc/rc.nfs file. The mountd daemon can be started and stopped by the following System Resource Controller (SRC) commands:

startsrc -s rpc.mountd
stopsrc -s rpc.mountd

To change the parameters passed to the mountd daemon, use the chssys command. For example:

chssys -s rpc.mountd -a Argument

The change will not take effect until the daemon is restarted.

Flags

Item Description
-n Allows clients that use older versions of NFS to mount file systems. This option makes the system less secure. It is the default.
-N Deny mount requests originating from non-privileged ports. This is the opposite of using the -n flag, and is not enabled by default.

Files

Item Description
/etc/exports Lists the directories that the server can export.
/etc/inetd.conf Defines how the inetd daemon handles Internet service requests.
/etc/xtab Lists currently exported directories.
/etc/services Defines the sockets and protocols used for Internet services. Contains information about the known services used in the DARPA Internet network.