xref: /titanic_41/usr/src/man/man1m/dfmounts.1m (revision e65fcc69bb33b3f4525b0c2c9732ece17c90b196)
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 1M "24 May 2005" "SunOS 5.11" "System Administration Commands"
NAME
dfmounts - display mounted resource information
SYNOPSIS

dfmounts [-F FSType] [-h] [-o specific_options] 
 [restriction]...
DESCRIPTION

dfmounts shows the local resources shared through a distributed file system FSType along with a list of clients that have the resource mounted. If restriction is not specified, dfmounts shows file systems that are currently shared on any NFS server. specific_options as well as the availability and semantics of restriction are specific to particular distributed file system types.

If dfmounts is entered without arguments, remote resources currently mounted on the local system are displayed, regardless of file system type. However, the dfmounts command does not display the names of NFS Version 4 clients.

"dfmounts Output"

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

Specifies the resource name that must be given to the mount(1M) command.

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. Clients are listed in the form domain., domain.system, or system, depending on the file system type.

A field can be null. Each null field is indicated by a hyphen (-) unless the remainder of the fields on the line are also null, in which case the hyphen can be omitted.

Fields with whitespace are enclosed in quotation marks ("\|").

OPTIONS

-F FSType

Specify filesystem type. Defaults to the first entry in /etc/dfs/fstypes. Note: currently the only valid FSType is nfs.

-h

Suppress header line in output.

-o specific_options

Specify options specific to the filesystem provided by the -F option. Note: currently no options are supported.

FILES

/etc/dfs/fstypes

file system types

SEE ALSO

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