dfshares(1M_NFS) (NFS) dfshares(1M_NFS)
NAME
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.
Files
/etc/dfs/fstypes
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(1M)
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 (-).
Exit Codes
0 Successful exit
Copyright 1994 Novell, Inc. Page 1
dfshares(1M_NFS) (NFS) dfshares(1M_NFS)
33 Usage error
34 RPC error
35 No exports list
36 gethostname (uname) failed
USAGE
The following options are available to the dfshares command:
-F Specifies the File System Type (FSType). This option
may be omitted if NFS is the only file system 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
dfshares without arguments displays all of the NFS resources
shared on the local system.
REFERENCES
nfs-specific dfmounts(1M_NFS), generic dfshares(1M),
mount(1M), share(1M), unshare(1M)
Copyright 1994 Novell, Inc. Page 2