Services for UNIX

Previous Topic Next Topic

Using Showmount

The showmount command queries the mount daemon on a specified remote host for information about which clients are mounting from that host. The mount daemon is responsible for receiving a mount request from an NFS client, validating the request by comparing it to the list of exported file systems in /etc/exports, and if the request is valid, creating a file handle for the requested directory, and adding an entry to /etc/rmtab on the UNIX-based computer.

Table 11.5 lists some of the options you can use with showmount

Table 11.5 The Showmount Options

Option Description
-a [host] Lists both the client host name and the mounted directory (host: directory)
-d [host] Lists the directories mounted by a client
-e [host] Shows the NFS server's export list

Since the showmount command depends on the mount daemon for its information, the list of mounted directories might not be complete at any particular time. In addition, showmount sorts and processes its output to remove any repeated information, so a directory can be mounted more than once but only be listed once. For more information, see the Services for UNIX online help for showmount.

© 1985-2000 Microsoft Corporation. All rights reserved.