xref: /freebsd/usr.bin/showmount/showmount.8 (revision fbbd9655e5107c68e4e0146ff22b73d7350475bc)
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.
15*fbbd9655SWarner Losh.\" 3. 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.\"
34e299e01fSEdward Tomasz Napierala.Dd March 20, 2016
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
43e299e01fSEdward Tomasz Napierala.Op Fl E
44edcb40ebSWarren Block.Op Fl e
451b31334cSPeter Wemm.Op Fl 1
46edcb40ebSWarren Block.Op Fl 3
479b50d902SRodney W. Grimes.Op Ar host
489b50d902SRodney W. Grimes.Sh DESCRIPTION
49084e1980SPhilippe CharnierThe
50084e1980SPhilippe Charnier.Nm
51084e1980SPhilippe Charnierutility shows status information about the
529b50d902SRodney W. Grimes.Tn NFS
539b50d902SRodney W. Grimesserver on
549b50d902SRodney W. Grimes.Ar host .
559b50d902SRodney W. GrimesBy default it prints the names of all hosts that have
569b50d902SRodney W. Grimes.Tn NFS
579b50d902SRodney W. Grimesfile systems mounted
5887faa07bSSheldon Hearnon the host.
5987faa07bSSheldon HearnSee
609b50d902SRodney W. Grimes.%T "NFS: Network File System Protocol Specification" ,
619b50d902SRodney W. GrimesRFC 1094,
629b50d902SRodney W. GrimesAppendix A,
63a62dc406SDoug Rabsonand
64a62dc406SDoug Rabson.%T "NFS: Network File System Version 3 Protocol Specification" ,
65a62dc406SDoug RabsonAppendix I,
669b50d902SRodney W. Grimesfor a detailed description of the protocol.
67084e1980SPhilippe Charnier.Pp
68084e1980SPhilippe CharnierThe following options are available:
69084e1980SPhilippe Charnier.Bl -tag -width indent
709b50d902SRodney W. Grimes.It Fl a
719b50d902SRodney W. GrimesList all mount points in the form:
729b50d902SRodney W. Grimes.Bd -ragged -offset indent -compact
73439165e5SPhilippe Charnier.Ar host : Ns Ar dirpath .
749b50d902SRodney W. Grimes.Ed
759b50d902SRodney W. Grimes.It Fl d
76439165e5SPhilippe CharnierList directory paths of mount points instead of hosts.
77e299e01fSEdward Tomasz Napierala.It Fl E
78e299e01fSEdward Tomasz NapieralaShow the
79e299e01fSEdward Tomasz Napierala.Ar host Ns 's
80e299e01fSEdward Tomasz Napieralaexports list in a script-friendly format.
81e299e01fSEdward Tomasz NapieralaClient addresses and the header are not shown, and special
82e299e01fSEdward Tomasz Napieralacharacters are escaped.
839b50d902SRodney W. Grimes.It Fl e
849b50d902SRodney W. GrimesShow the
859b50d902SRodney W. Grimes.Ar host Ns 's
86439165e5SPhilippe Charnierexports list.
871b31334cSPeter Wemm.It Fl 1
881b31334cSPeter WemmUse mount protocol Version 1, compatible with legacy servers.
89a62dc406SDoug Rabson.It Fl 3
901b31334cSPeter WemmIgnored for backwards compatibility.
919b50d902SRodney W. Grimes.El
929b50d902SRodney W. Grimes.Sh SEE ALSO
9378b0b234SMike Pritchard.Xr mount 8 ,
94914f6e62SJoel Dahl.Xr mount_nfs 8 ,
95914f6e62SJoel Dahl.Xr mountd 8
966c7216dfSRuslan Ermilov.Sh HISTORY
976c7216dfSRuslan ErmilovThe
986c7216dfSRuslan Ermilov.Nm
996c7216dfSRuslan Ermilovutility first appeared in
1006c7216dfSRuslan Ermilov.Bx 4.4 .
1019b50d902SRodney W. Grimes.Sh BUGS
1029b50d902SRodney W. GrimesThe mount daemon running on the server only has an idea of the actual mounts,
1039b50d902SRodney W. Grimessince the
1049b50d902SRodney W. Grimes.Tn NFS
1059b50d902SRodney W. Grimesserver is stateless.
106084e1980SPhilippe CharnierThe
107084e1980SPhilippe Charnier.Nm
108084e1980SPhilippe Charnierutility will only display the information
1099b50d902SRodney W. Grimesas accurately as the mount daemon reports it.
110