xref: /titanic_41/usr/src/man/man1m/showmount.1m (revision fbe82215144da71ed02c3a920667472cc567fafd)
te
Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
SHOWMOUNT 1M "Oct 26, 2004"
NAME
showmount - show remote mounts
SYNOPSIS

/usr/sbin/showmount [-ade] [hostname]
DESCRIPTION

showmount lists the clients that have remotely mounted a filesystem from host. This information is maintained by the mountd(1M) server on host, and is saved across crashes in the file /etc/rmtab. The default value for host is the value returned by hostname(1).

The showmount command does not display the names of NFS Version 4 clients.

OPTIONS
-a

Print all remote mounts in the format: hostname : directory where hostname is the name of the client, and directory is the root of the file system that has been mounted.

-d

List directories that have been remotely mounted by clients.

-e

Print the list of shared file systems.

FILES
/etc/rmtab

SEE ALSO

hostname(1), mountd(1M), attributes(5)

BUGS

If a client crashes, its entry will not be removed from the list of remote mounts on the server.