Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference (Volume 4 of 9): Section 1M: System Administration Commands (N-Z) > s

showmount(1M)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » 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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.