1.\" Copyright (c) 1989, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Rick Macklem at The University of Guelph.
6.\"
7.\" %sccs.include.redist.man%
8.\"
9.\"     @(#)showmount.8	8.3 (Berkeley) 03/29/95
10.\"
11.Dd
12.Dt SHOWMOUNT 8
13.Os BSD 4
14.Sh NAME
15.Nm showmount
16.Nd show remote nfs mounts on host
17.Sh SYNOPSIS
18.Nm showmount
19.Op Fl ade3
20.Op Ar host
21.Sh DESCRIPTION
22.Nm Showmount
23shows status information about the
24.Tn NFS
25server on
26.Ar host .
27By default it prints the names of all hosts that have
28.Tn NFS
29file systems mounted
30on the host. See
31.%T "NFS: Network File System Protocol Specification" ,
32RFC 1094,
33Appendix A,
34and
35.%T "NFS: Network File System Version 3 Protocol Specification" ,
36Appendix I,
37for a detailed description of the protocol.
38.Bl -tag -width Ds
39.It Fl a
40List all mount points in the form:
41.Bd -ragged -offset indent -compact
42.Ar host : Ns Ar dirpath
43.Ed
44.It Fl d
45List directory paths of mount points instead of hosts
46.It Fl e
47Show the
48.Ar host Ns 's
49exports list
50.It Fl 3
51Use mount protocol Version 3, compatible with NFS Version 3.
52.El
53.Sh SEE ALSO
54.Xr mount 1 ,
55.Xr mountd 8
56.Sh BUGS
57The mount daemon running on the server only has an idea of the actual mounts,
58since the
59.Tn NFS
60server is stateless.
61.Nm Showmount
62will only display the information
63as accurately as the mount daemon reports it.
64.Sh HISTORY
65The
66.Nm showmount
67utility first appeared in 4.4BSD.
68