Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

dfshares(8)

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(8) 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

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See Also

attributes(7), dfmounts(8), mount(8), share(8), unshare(8)