dfmounts(1nfs)


dfmounts -- display mounted NFS resource information

Synopsis

dfmounts [-F nfs] [-h] [server ...]

Description

The NFS®-specific dfmounts command shows the local resources currently mounted by clients through Network File System (NFS), along with a list of clients that have mounted the resource.

dfmounts may not indicate the correct state if you mount a single resource on more than one directory.

Options

The following options are available to the dfmounts command:

-F
Specifies the File System Type (fstype). This option may be omitted if NFS is the only filesystem type listed in the file /etc/dfs/fstypes.

-h
Suppress the header line in the output of dfmounts.

server
Any system on the network that has made resources available to your machine. If server is specified, it shows the resources available from that machine, along with the current clients using each resource.

If no server is specified, then server is assumed to be the local system. The resources on the local system that are currently mounted by other clients, along with a list of those clients, are displayed.

Output

The output from dfmounts prints the header, followed by a list of lines containing whitespace-separated fields. For each resource, the fields are:
   resource server path clients
where

resource
This field has no meaning for NFS, and is filled with a hyphen ``-''.

server
Specifies the machine from which the resource was mounted.

path
Specifies the path of the shared resource.

clients
A comma-separated list of systems that currently have the resource mounted.

Files


/etc/dfs/fstypes

Usage

dfmounts without options displays any remote systems that have mounted resources that you have made available.

Exit codes


0
Successful exit

33
Usage error

34
RPC error

36
gethostname uname failed

References

dfmounts(1M), dfshares(1nfs), mount(1Mnfs), share(1Mnfs), unshare(1Mnfs)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004