Annotation of src/usr.bin/showmount/showmount.8, Revision 1.12
1.12 ! jmc 1: .\" $OpenBSD: showmount.8,v 1.11 2007/02/06 20:07:16 jmc 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.
1.10 millert 18: .\" 3. Neither the name of the University nor the names of its contributors
1.1 deraadt 19: .\" may be used to endorse or promote products derived from this software
20: .\" without specific prior written permission.
21: .\"
22: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32: .\" SUCH DAMAGE.
33: .\"
34: .\" @(#)showmount.8 8.3 (Berkeley) 3/29/95
35: .\"
36: .Dd March 29, 1995
37: .Dt SHOWMOUNT 8
1.6 aaron 38: .Os
1.1 deraadt 39: .Sh NAME
40: .Nm showmount
1.5 aaron 41: .Nd show remote NFS mounts on host
1.1 deraadt 42: .Sh SYNOPSIS
43: .Nm showmount
1.12 ! jmc 44: .Op Fl 3ade
1.1 deraadt 45: .Op Ar host
46: .Sh DESCRIPTION
1.8 aaron 47: .Nm
1.1 deraadt 48: shows status information about the
49: .Tn NFS
50: server on
51: .Ar host .
52: By default it prints the names of all hosts that have
53: .Tn NFS
54: file systems mounted
1.9 aaron 55: on the host.
56: See
1.1 deraadt 57: .%T "NFS: Network File System Protocol Specification" ,
58: RFC 1094,
59: Appendix A,
60: and
61: .%T "NFS: Network File System Version 3 Protocol Specification" ,
62: Appendix I,
63: for a detailed description of the protocol.
64: .Bl -tag -width Ds
1.12 ! jmc 65: .It Fl 3
! 66: Use mount protocol Version 3, compatible with NFS Version 3.
1.1 deraadt 67: .It Fl a
68: List all mount points in the form:
1.5 aaron 69: .Ar host : Ns Ar dirpath .
1.1 deraadt 70: .It Fl d
1.5 aaron 71: List directory paths of mount points instead of hosts.
1.1 deraadt 72: .It Fl e
73: Show the
74: .Ar host Ns 's
1.5 aaron 75: exports list.
1.1 deraadt 76: .El
77: .Sh SEE ALSO
1.3 deraadt 78: .Xr mount 8 ,
1.1 deraadt 79: .Xr mountd 8
1.7 aaron 80: .Sh HISTORY
81: The
1.8 aaron 82: .Nm
1.7 aaron 83: utility first appeared in
84: .Bx 4.4 .
1.1 deraadt 85: .Sh BUGS
86: The mount daemon running on the server only has an idea of the actual mounts,
87: since the
88: .Tn NFS
89: server is stateless.
1.8 aaron 90: .Nm
1.1 deraadt 91: will only display the information
92: as accurately as the mount daemon reports it.