HPlogo HP-UX Reference > S

showmount(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

showmount — show all remote mounts

SYNOPSIS

/usr/sbin/showmount [-a] [-d] [-e] [host]

DESCRIPTION

showmount lists all clients that have remotely mounted a filesystem from host. This information is maintained by the mountd server on host (see mountd(1M)). The default value for host is the value returned by hostname (see hostname(1)).

Options

-a

Print all remote mounts in the format

name:directory

where hostname is the name of the client, and directory is the directory or root of the file system that was mounted.

-d

List directories that have been remotely mounted by clients.

-e

Print the list of exported file systems.

WARNINGS

If a client crashes, executing showmount on the server will show that the client still has a file system mounted. In other words, 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 appears in /etc/rmtab. Doing a umount of one of these directories removes the single entry and showmount no longer indicates that the remote directory is mounted.

AUTHOR

showmount was developed by Sun Microsystems, Inc.