Annotation of src/usr.bin/showmount/showmount.8, Revision 1.9
1.9 ! aaron 1: .\" $OpenBSD: showmount.8,v 1.8 2000/03/10 20:17:52 aaron Exp $
1.1 deraadt 2: .\" $NetBSD: showmount.8,v 1.5 1995/08/31 22:26:07 jtc Exp $
3: .\"
4: .\" Copyright (c) 1989, 1991, 1993
5: .\" The Regents of the University of California. All rights reserved.
6: .\"
7: .\" This code is derived from software contributed to Berkeley by
8: .\" Rick Macklem at The University of Guelph.
9: .\"
10: .\" Redistribution and use in source and binary forms, with or without
11: .\" modification, are permitted provided that the following conditions
12: .\" are met:
13: .\" 1. Redistributions of source code must retain the above copyright
14: .\" notice, this list of conditions and the following disclaimer.
15: .\" 2. Redistributions in binary form must reproduce the above copyright
16: .\" notice, this list of conditions and the following disclaimer in the
17: .\" documentation and/or other materials provided with the distribution.
18: .\" 3. All advertising materials mentioning features or use of this software
19: .\" must display the following acknowledgement:
20: .\" This product includes software developed by the University of
21: .\" California, Berkeley and its contributors.
22: .\" 4. Neither the name of the University nor the names of its contributors
23: .\" may be used to endorse or promote products derived from this software
24: .\" without specific prior written permission.
25: .\"
26: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36: .\" SUCH DAMAGE.
37: .\"
38: .\" @(#)showmount.8 8.3 (Berkeley) 3/29/95
39: .\"
40: .Dd March 29, 1995
41: .Dt SHOWMOUNT 8
1.6 aaron 42: .Os
1.1 deraadt 43: .Sh NAME
44: .Nm showmount
1.5 aaron 45: .Nd show remote NFS mounts on host
1.1 deraadt 46: .Sh SYNOPSIS
47: .Nm showmount
48: .Op Fl ade3
49: .Op Ar host
50: .Sh DESCRIPTION
1.8 aaron 51: .Nm
1.1 deraadt 52: shows status information about the
53: .Tn NFS
54: server on
55: .Ar host .
56: By default it prints the names of all hosts that have
57: .Tn NFS
58: file systems mounted
1.9 ! aaron 59: on the host.
! 60: See
1.1 deraadt 61: .%T "NFS: Network File System Protocol Specification" ,
62: RFC 1094,
63: Appendix A,
64: and
65: .%T "NFS: Network File System Version 3 Protocol Specification" ,
66: Appendix I,
67: for a detailed description of the protocol.
68: .Bl -tag -width Ds
69: .It Fl a
70: List all mount points in the form:
71: .Bd -ragged -offset indent -compact
1.5 aaron 72: .Ar host : Ns Ar dirpath .
1.1 deraadt 73: .Ed
74: .It Fl d
1.5 aaron 75: List directory paths of mount points instead of hosts.
1.1 deraadt 76: .It Fl e
77: Show the
78: .Ar host Ns 's
1.5 aaron 79: exports list.
1.1 deraadt 80: .It Fl 3
81: Use mount protocol Version 3, compatible with NFS Version 3.
82: .El
83: .Sh SEE ALSO
1.3 deraadt 84: .Xr mount 8 ,
1.1 deraadt 85: .Xr mountd 8
1.7 aaron 86: .Sh HISTORY
87: The
1.8 aaron 88: .Nm
1.7 aaron 89: utility first appeared in
90: .Bx 4.4 .
1.1 deraadt 91: .Sh BUGS
92: The mount daemon running on the server only has an idea of the actual mounts,
93: since the
94: .Tn NFS
95: server is stateless.
1.8 aaron 96: .Nm
1.1 deraadt 97: will only display the information
98: as accurately as the mount daemon reports it.