Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mountd(1M) — HP-UX 6.00

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)  —  Series 300 Only

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 and users.  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 since a new process is not launched for each RPC request.  Note, 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 will remove the single entry and showmount(1M) will not indicate that the remote directory is mounted any longer.

If using diskless capabilities, only the rootserver’s mountd will respond successfully to mount requests.  In the case of diskless clients, the rpc.mountd process is only used to answer showmount(1M) requests.

AUTHOR

Sun Microsystems, Inc. 

FILES

/etc/rmtab contains a list of all hosts that have 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  —  May 11, 2021

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