Purpose
Displays mounted resource information.
Syntax
dfmounts [ -F fstype ] [ -h ] [ server ... ]
Description
The dfmounts command
prints local systems that are remotely mounted by clients through
Network File System (NFS). It also prints the list of clients that
have mounted the resource.The dfmounts command prints a header
that is followed by a list of resource information separated with
whitespace characters within fields.
For each resource, the
following fields are displayed:
- RESOURCE
- For NFS, a hyphen "-" is marked.
- SERVER
- Indicates the machine from which the resource was mounted.
- PATHNAME
- Indicates the path of the shared resource.
- CLIENTS
- A comma separated list of systems that currently have the resource
mounted.
Flags
Item |
Description |
-F fstype |
Specifies the File System Type (fstype). Only nfs type of filesystem is supported. |
-h |
Suppress the header line in the output of dfmounts. |
Parameters
Item |
Description |
Server |
Represents a system on the network that had
made its resources available to the local system. Server prints
the resources that is made available from the machine together with
the current clients using each resource. If this parameter is not
specified, then the dfmounts command prints information by
assuming that server is the local system. Multiple server names can
be provided with the dfmounts command. |
Exit Status
- 0
- The command completed successfully
- >0
- An error occurred.
Security
Examples
- To print the mounted resource information on a the system "mercury"
for filesytem type "nfs", enter:
dfmounts -F nfs mercury
- To print mounted resource information without header on the system
for filesystem type "nfs", enter:
dfmounts -hF nfs
Files
Item |
Description |
/usr/bin/dfmounts |
Contains the generic System V dfmounts command. |
/usr/lib/fs/nfs/dfmounts |
Contains the System V dfmounts command
for nfs. |
/etc/vfs |
Contains the description for known virtual filesystem
implementations. |