xref: /titanic_50/usr/src/man/man1m/dfmounts_nfs.1m (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
te
Copyright 1989 AT&T Copyright (c) 1995, 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]
DFMOUNTS_NFS 1M "Nov 6, 2000"
NAME
dfmounts_nfs - display mounted NFS resource information
SYNOPSIS

dfmounts [-F nfs] [-h] [server]...
DESCRIPTION

dfmounts shows the local resources shared through NFS, along with the list of clients that have mounted the resource. The -F flag may be omitted if NFS is the only file system type listed in the file /etc/dfs/fstypes.

dfmounts without options, displays all remote resources mounted on the local system, regardless of file system type.

The output of dfmounts consists of an optional header line (suppressed with the -h flag) followed by a list of lines containing whitespace-separated fields. For each resource, the fields are:

resource server pathname clients ...

where resource

Does not apply to NFS. Printed as a hyphen (-).

server

Specifies the system from which the resource was mounted.

pathname

Specifies the pathname that must be given to the share(1M) command.

clients

Is a comma-separated list of systems that have mounted the resource.

OPTIONS
-F nfs

Specifies the nfs-FSType.

-h

Suppress header line in output.

server

Displays information about the resources mounted from each server, where server can be any system on the network. If no server is specified, the server is assumed to be the local system.

FILES
/etc/dfs/fstypes

SEE ALSO

mount(1M), share(1M), unshare(1M), attributes(5)