showmount
—
show remote NFS mounts on host
showmount |
[-adEe3 ] [host] |
showmount
shows status information about the NFS server
on host. By default it prints the names of all hosts
that have NFS file systems mounted on the host. See NFS:
Network File System Protocol Specification, RFC 1094, Appendix A, and
NFS: Network File System Version 3 Protocol
Specification, Appendix I, for a detailed description of the protocol.
-a
- List all mount points in the form:
host:dirpath
-d
- List directory paths of mount points instead of hosts
-E
- Show the host's exports list in a script-friendly
format. Client addresses and the header are not shown, and special
characters are escaped.
-e
- Show the host's exports list
-3
- Use mount protocol Version 3, compatible with NFS Version 3.
The showmount
utility first appeared in
4.4BSD.
The mount daemon running on the server only has an idea of the actual mounts,
since the NFS server is stateless. showmount
will only
display the information as accurately as the mount daemon reports it.