dfshares(NC)
dfshares --
list available NFS resources from remote systems
Synopsis
dfshares [-F nfs] [-o] [-h] [server . . .]
Description
The NFS®-specific dfshares command provides information
about resources available to the host through the Network File System.
Options
The following options are available to the dfshares command:
-F-
Specifies the File System Type. This option may be omitted if NFS is
the only filesystem type listed in the /etc/dfs/fstypes file.
-h-
Suppress the header line in the output of dfshares.
-o-
Use only udp to gather dfshares information. This
option will decrease the time it takes the command to return if a host
is down. The default is to try to get the dfshares information
over tcp first. If that fails, then udp is tried.
server-
Any system on the network that has made resources available to your
machine. If no server is specified, then server is
assumed to be the local system. More than one server can be
specified with dfshares
Output
dfshares prints a header line, 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 (server:path) that must
be given to the
mount(NADM)
command.
server-
Specifies the system that is making the resource available.
access-
Specifies the access permissions granted to the client systems; however,
dfshares cannot determine this information for an NFS resource
and populates the field with a hyphen (``-'').
transport-
Specifies the transport provider over which the resource is
shared; however, dfshares cannot determine this information for
an NFS resource and populates the field with a hyphen (``-'').
Files
/etc/dfs/fstypes-
Usage
dfshares without arguments displays all of the NFS resources
shared on the local system.
Exit codes
0-
Successful exit
33-
Usage error
34-
RPC error
35-
No exports list
36-
gethostname uname failed
References
dfmounts(NC),
dfshares(ADM),
mount(NADM),
share(NADM),
unshare(NADM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005