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. 15fbbd9655SWarner 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.\" 31e299e01fSEdward Tomasz Napierala.Dd March 20, 2016 329b50d902SRodney W. Grimes.Dt SHOWMOUNT 8 3362500372SRuslan Ermilov.Os 349b50d902SRodney W. Grimes.Sh NAME 359b50d902SRodney W. Grimes.Nm showmount 369b50d902SRodney W. Grimes.Nd show remote nfs mounts on host 379b50d902SRodney W. Grimes.Sh SYNOPSIS 388fe908efSRuslan Ermilov.Nm 3906e482e6SRuslan Ermilov.Op Fl a | d 40e299e01fSEdward Tomasz Napierala.Op Fl E 41edcb40ebSWarren Block.Op Fl e 421b31334cSPeter Wemm.Op Fl 1 43edcb40ebSWarren Block.Op Fl 3 449b50d902SRodney W. Grimes.Op Ar host 459b50d902SRodney W. Grimes.Sh DESCRIPTION 46084e1980SPhilippe CharnierThe 47084e1980SPhilippe Charnier.Nm 48084e1980SPhilippe Charnierutility shows status information about the 499b50d902SRodney W. Grimes.Tn NFS 509b50d902SRodney W. Grimesserver on 519b50d902SRodney W. Grimes.Ar host . 529b50d902SRodney W. GrimesBy default it prints the names of all hosts that have 539b50d902SRodney W. Grimes.Tn NFS 549b50d902SRodney W. Grimesfile systems mounted 5587faa07bSSheldon Hearnon the host. 5687faa07bSSheldon HearnSee 579b50d902SRodney W. Grimes.%T "NFS: Network File System Protocol Specification" , 589b50d902SRodney W. GrimesRFC 1094, 599b50d902SRodney W. GrimesAppendix A, 60a62dc406SDoug Rabsonand 61a62dc406SDoug Rabson.%T "NFS: Network File System Version 3 Protocol Specification" , 62a62dc406SDoug RabsonAppendix I, 639b50d902SRodney W. Grimesfor a detailed description of the protocol. 64084e1980SPhilippe Charnier.Pp 65084e1980SPhilippe CharnierThe following options are available: 66084e1980SPhilippe Charnier.Bl -tag -width indent 67*a88611b6SEitan Adler.It Fl a , Fl -all 689b50d902SRodney W. GrimesList all mount points in the form: 699b50d902SRodney W. Grimes.Bd -ragged -offset indent -compact 70439165e5SPhilippe Charnier.Ar host : Ns Ar dirpath . 719b50d902SRodney W. Grimes.Ed 72*a88611b6SEitan Adler.It Fl d , Fl -directories 73439165e5SPhilippe CharnierList directory paths of mount points instead of hosts. 74*a88611b6SEitan Adler.It Fl E , Fl -exports-script 75e299e01fSEdward Tomasz NapieralaShow the 76e299e01fSEdward Tomasz Napierala.Ar host Ns 's 77e299e01fSEdward Tomasz Napieralaexports list in a script-friendly format. 78e299e01fSEdward Tomasz NapieralaClient addresses and the header are not shown, and special 79e299e01fSEdward Tomasz Napieralacharacters are escaped. 80*a88611b6SEitan Adler.It Fl e , Fl -exports 819b50d902SRodney W. GrimesShow the 829b50d902SRodney W. Grimes.Ar host Ns 's 83439165e5SPhilippe Charnierexports list. 841b31334cSPeter Wemm.It Fl 1 851b31334cSPeter WemmUse mount protocol Version 1, compatible with legacy servers. 86a62dc406SDoug Rabson.It Fl 3 871b31334cSPeter WemmIgnored for backwards compatibility. 889b50d902SRodney W. Grimes.El 899b50d902SRodney W. Grimes.Sh SEE ALSO 9078b0b234SMike Pritchard.Xr mount 8 , 91914f6e62SJoel Dahl.Xr mount_nfs 8 , 92914f6e62SJoel Dahl.Xr mountd 8 936c7216dfSRuslan Ermilov.Sh HISTORY 946c7216dfSRuslan ErmilovThe 956c7216dfSRuslan Ermilov.Nm 966c7216dfSRuslan Ermilovutility first appeared in 976c7216dfSRuslan Ermilov.Bx 4.4 . 989b50d902SRodney W. Grimes.Sh BUGS 999b50d902SRodney W. GrimesThe mount daemon running on the server only has an idea of the actual mounts, 1009b50d902SRodney W. Grimessince the 1019b50d902SRodney W. Grimes.Tn NFS 1029b50d902SRodney W. Grimesserver is stateless. 103084e1980SPhilippe CharnierThe 104084e1980SPhilippe Charnier.Nm 105084e1980SPhilippe Charnierutility will only display the information 1069b50d902SRodney W. Grimesas accurately as the mount daemon reports it. 107