Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mountd(1M) — HP-UX 8.07

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

inetd(1M)

mount(1M)

portmap(1M)

showmount(1M)

exports(4)

inetd.conf(4)

inetd.sec(4)

rmtab(4)

services(4)

mountd(1M)

Requires Optional NFS Services Software

NAME

mountd − NFS mount request server

SYNOPSIS

/usr/etc/rpc.mountd [−l log_file] [−e | −n]

DESCRIPTION

The mountd is an RPC server that answers file system mount requests.  It reads the file /etc/exports, described in exports(4), to determine which file systems are available to which machines. It also provides information as to which clients have file systems mounted. This information can be printed using the showmount(1M) command.

The inetd(1M) invokes rpc.mountd through /etc/inetd.conf. 

Options

−l log_file Log any errors to the named log file, log_file. Errors are not logged if the −l option is not specified. 

The information logged to the file includes the date and time of the error, the host name, process id and name of the function generating the error, and the error message.  Note that different services can share a single log file since enough information is included to uniquely identify each error. 

−e Exit after serving each RPC request.  Using the −e option, the inetd security file /usr/adm/inetd.sec can control access to RPC services. 

−n Exit only if:

• portmap(1M) dies,

• another rpc.mountd registers with portmap(1M), or

• rpc.mountd becomes unregistered with portmap(1M).

The −n option is more efficient because a new process is not launched for each RPC request.  This option is the default. 

WARNINGS

If a client crashes, executing showmount(1M) on the server will show that the client still has a file system mounted, i.e., the client’s entry is not removed from /etc/rmtab until the client reboots and executes umount −a. 

Also, if a client mounts the same remote directory twice, only one entry will appear in /etc/rmtab. Doing a umount of one of these directories removes the single entry and showmount(1M) no longer indicates that the remote directory is mounted.

If using clustered systems capabilities, only the cluster server’s mountd can respond successfully to mount requests.  In the case of cluster clients, the rpc.mountd process is only used to answer showmount(1M) requests.

AUTHOR

mountd was developed by Sun Microsystems, Inc. 

FILES

/etc/rmtab list of all hosts having file systems mounted from this machine

SEE ALSO

inetd(1M), mount(1M), portmap(1M), showmount(1M), exports(4), inetd.conf(4), inetd.sec(4), rmtab(4), services(4). 

INTERNATIONAL SUPPORT

8-bit data, messages

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026