man.bsd.lv manual page server

Manual Page Search Parameters

SHOWMOUNT(8) System Manager's Manual SHOWMOUNT(8)

showmountshow remote nfs mounts on host

showmount [-a | -d] [-E] [-e] [-1] [-3] [host]

The showmount utility 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.

The following options are available:

List all mount points in the form:
host:dirpath.
List directory paths of mount points instead of hosts.
Show the host's exports list in a script-friendly format. Client addresses and the header are not shown, and special characters are escaped.
Show the host's exports list.
Use mount protocol Version 1, compatible with legacy servers.
Ignored for backwards compatibility.

mount(8), mount_nfs(8), mountd(8)

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. The showmount utility will only display the information as accurately as the mount daemon reports it.

March 20, 2016 FreeBSD-12.0