xref: /titanic_41/usr/src/man/man1m/dfshares.1m (revision 0c79d02b29618f74322989ec8ceafaa5486ac1db)
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]
DFSHARES 1M "Nov 6, 2000"
NAME
dfshares - list available resources from remote or local systems
SYNOPSIS

dfshares [-F FSType] [-h] [-o specific_options] [server]...
DESCRIPTION

dfshares provides information about resources available to the host through a distributed file system of type FSType. specific_options as well as the semantics of server are specific to particular distributed file systems.

If dfshares is entered without arguments, all resources currently shared on the local system are displayed, regardless of file system type.

The output of dfshares 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 access transport

where resource

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

server

Specifies the name of the system that is making the resource available.

access

Specifies the access permissions granted to the client systems, either ro (for read-only) or rw (for read/write). If dfshares cannot determine access permissions, a hyphen (-) is displayed.

transport

Specifies the transport provider over which the resource is shared.

A field may 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 may be omitted.

OPTIONS
-F FSType

Specify filesystem type. Defaults to the first entry in /etc/dfs/fstypes.

-h

Suppress header line in output.

-o specific_options

Specify options specific to the filesystem provided by the -F option.

FILES
/etc/dfs/fstypes

SEE ALSO

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