dfmounts Command
Purpose
Displays mounted resource information.
Syntax
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 file system 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 the system "mercury" for file system type
"nfs", enter:
dfmounts -F nfs mercury
- To print mounted resource information without header on the system for file system 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 file system implementations. |