xref: /freebsd/usr.bin/showmount/showmount.8 (revision edcb40eb4ee404d0aa03163091b9c0f24b81b0cc)
19b50d902SRodney W. Grimes.\" Copyright (c) 1989, 1991, 1993
29b50d902SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
39b50d902SRodney W. Grimes.\"
49b50d902SRodney W. Grimes.\" This code is derived from software contributed to Berkeley by
59b50d902SRodney W. Grimes.\" Rick Macklem at The University of Guelph.
69b50d902SRodney W. Grimes.\"
79b50d902SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
89b50d902SRodney W. Grimes.\" modification, are permitted provided that the following conditions
99b50d902SRodney W. Grimes.\" are met:
109b50d902SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
119b50d902SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
129b50d902SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
139b50d902SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
149b50d902SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
159b50d902SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors
169b50d902SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
179b50d902SRodney W. Grimes.\"    without specific prior written permission.
189b50d902SRodney W. Grimes.\"
199b50d902SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
209b50d902SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
219b50d902SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
229b50d902SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
239b50d902SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
249b50d902SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
259b50d902SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
269b50d902SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
279b50d902SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
289b50d902SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
299b50d902SRodney W. Grimes.\" SUCH DAMAGE.
309b50d902SRodney W. Grimes.\"
31439165e5SPhilippe Charnier.\"     @(#)showmount.8	8.3 (Berkeley) 3/29/95
32c3aac50fSPeter Wemm.\" $FreeBSD$
339b50d902SRodney W. Grimes.\"
34439165e5SPhilippe Charnier.Dd March 29, 1995
359b50d902SRodney W. Grimes.Dt SHOWMOUNT 8
3662500372SRuslan Ermilov.Os
379b50d902SRodney W. Grimes.Sh NAME
389b50d902SRodney W. Grimes.Nm showmount
399b50d902SRodney W. Grimes.Nd show remote nfs mounts on host
409b50d902SRodney W. Grimes.Sh SYNOPSIS
418fe908efSRuslan Ermilov.Nm
4206e482e6SRuslan Ermilov.Op Fl a | d
43*edcb40ebSWarren Block.Op Fl e
44*edcb40ebSWarren Block.Op Fl 3
459b50d902SRodney W. Grimes.Op Ar host
469b50d902SRodney W. Grimes.Sh DESCRIPTION
47084e1980SPhilippe CharnierThe
48084e1980SPhilippe Charnier.Nm
49084e1980SPhilippe Charnierutility shows status information about the
509b50d902SRodney W. Grimes.Tn NFS
519b50d902SRodney W. Grimesserver on
529b50d902SRodney W. Grimes.Ar host .
539b50d902SRodney W. GrimesBy default it prints the names of all hosts that have
549b50d902SRodney W. Grimes.Tn NFS
559b50d902SRodney W. Grimesfile systems mounted
5687faa07bSSheldon Hearnon the host.
5787faa07bSSheldon HearnSee
589b50d902SRodney W. Grimes.%T "NFS: Network File System Protocol Specification" ,
599b50d902SRodney W. GrimesRFC 1094,
609b50d902SRodney W. GrimesAppendix A,
61a62dc406SDoug Rabsonand
62a62dc406SDoug Rabson.%T "NFS: Network File System Version 3 Protocol Specification" ,
63a62dc406SDoug RabsonAppendix I,
649b50d902SRodney W. Grimesfor a detailed description of the protocol.
65084e1980SPhilippe Charnier.Pp
66084e1980SPhilippe CharnierThe following options are available:
67084e1980SPhilippe Charnier.Bl -tag -width indent
689b50d902SRodney W. Grimes.It Fl a
699b50d902SRodney W. GrimesList all mount points in the form:
709b50d902SRodney W. Grimes.Bd -ragged -offset indent -compact
71439165e5SPhilippe Charnier.Ar host : Ns Ar dirpath .
729b50d902SRodney W. Grimes.Ed
739b50d902SRodney W. Grimes.It Fl d
74439165e5SPhilippe CharnierList directory paths of mount points instead of hosts.
759b50d902SRodney W. Grimes.It Fl e
769b50d902SRodney W. GrimesShow the
779b50d902SRodney W. Grimes.Ar host Ns 's
78439165e5SPhilippe Charnierexports list.
79a62dc406SDoug Rabson.It Fl 3
80084e1980SPhilippe CharnierUse mount protocol Version 3, compatible with
81084e1980SPhilippe Charnier.Tn NFS
82084e1980SPhilippe CharnierVersion 3.
839b50d902SRodney W. Grimes.El
849b50d902SRodney W. Grimes.Sh SEE ALSO
8578b0b234SMike Pritchard.Xr mount 8 ,
86893d2b85SSheldon Hearn.Xr mountd 8 ,
875521ff5aSRuslan Ermilov.Xr mount_nfs 8
886c7216dfSRuslan Ermilov.Sh HISTORY
896c7216dfSRuslan ErmilovThe
906c7216dfSRuslan Ermilov.Nm
916c7216dfSRuslan Ermilovutility first appeared in
926c7216dfSRuslan Ermilov.Bx 4.4 .
939b50d902SRodney W. Grimes.Sh BUGS
949b50d902SRodney W. GrimesThe mount daemon running on the server only has an idea of the actual mounts,
959b50d902SRodney W. Grimessince the
969b50d902SRodney W. Grimes.Tn NFS
979b50d902SRodney W. Grimesserver is stateless.
98084e1980SPhilippe CharnierThe
99084e1980SPhilippe Charnier.Nm
100084e1980SPhilippe Charnierutility will only display the information
1019b50d902SRodney W. Grimesas accurately as the mount daemon reports it.
102