contributed by Rick Macklem
[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.\"
7.\" Redistribution and use in source and binary forms are permitted
8.\" provided that the above copyright notice and this paragraph are
9.\" duplicated in all such forms and that any documentation,
10.\" advertising materials, and other materials related to such
11.\" distribution and use acknowledge that the software was developed
12.\" by the University of California, Berkeley. The name of the
13.\" University may not be used to endorse or promote products derived
14.\" from this software without specific prior written permission.
15.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18.\"
19.\" @(#)showmount.8 6.1 (Berkeley) %G%
20.\"
21.TH SHOWMOUNT 8 ""
22.UC 4
23.SH NAME
24showmount \- show remote nfs mounts on host
25.SH SYNOPSIS
26.B showmount
27[
28.B \-ade
29]
30[
31.B host
32]
33.SH DESCRIPTION
34.I Showmount
35shows status information about the NFS server on
36.I host.
37By default it prints the names of all hosts that have NFS file systems mounted
38on the host. See "NFS: Network File System Protocol Specification, RFC1094,
39Appendix A" for a detailed desciption of the protocol.
40.TP
41.B \-a
42List all mount points in the form:
43.RS
44.RS
45.I host:dirpath
46.RE
47.RE
48.TP
49.B \-d
50List directory paths of mount points instead of hosts
51.TP
52.B \-e
53Show the
54.I host's
55exports list
56.SH "SEE ALSO"
57mount(1), mountd(8)
58.SH BUGS
59The mount daemon running on the server only has an idea of the actual mounts,
60since the NFS server is stateless. Showmount will only display the information
61as accurately as the mount daemon reports it.