ANSI, make exit codes consistent
[unix-history] / usr / src / usr.bin / showmount / showmount.8
CommitLineData
7918c07a
KM
1.\" Copyright (c) 1989 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Rick Macklem at The University of Guelph.
6.\"
bcfc672c 7.\" %sccs.include.redist.man%
7918c07a 8.\"
bcfc672c 9.\" @(#)showmount.8 6.2 (Berkeley) %G%
7918c07a
KM
10.\"
11.TH SHOWMOUNT 8 ""
12.UC 4
13.SH NAME
14showmount \- show remote nfs mounts on host
15.SH SYNOPSIS
16.B showmount
17[
18.B \-ade
19]
20[
21.B host
22]
23.SH DESCRIPTION
24.I Showmount
25shows status information about the NFS server on
26.I host.
27By default it prints the names of all hosts that have NFS file systems mounted
28on the host. See "NFS: Network File System Protocol Specification, RFC1094,
29Appendix A" for a detailed desciption of the protocol.
30.TP
31.B \-a
32List all mount points in the form:
33.RS
34.RS
35.I host:dirpath
36.RE
37.RE
38.TP
39.B \-d
40List directory paths of mount points instead of hosts
41.TP
42.B \-e
43Show the
44.I host's
45exports list
46.SH "SEE ALSO"
47mount(1), mountd(8)
48.SH BUGS
49The mount daemon running on the server only has an idea of the actual mounts,
50since the NFS server is stateless. Showmount will only display the information
51as accurately as the mount daemon reports it.