6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / man / man1m / showmount.1m
blob4b7ba125f48f00f73c41b737ab274da7444679fd
1 '\" te
2 .\"  Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH SHOWMOUNT 1M "Oct 26, 2004"
7 .SH NAME
8 showmount \- show remote mounts
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/showmount\fR [\fB-ade\fR] [\fIhostname\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBshowmount\fR lists the clients that have remotely mounted a filesystem from
19 \fIhost\fR. This information is maintained by the \fBmountd\fR(1M) server on
20 \fIhost\fR, and is saved across crashes in the file \fB/etc/rmtab\fR. The
21 default value for \fIhost\fR is the value returned by \fBhostname\fR(1).
22 .sp
23 .LP
24 The \fBshowmount\fR command does not display the names of NFS Version 4
25 clients.
26 .SH OPTIONS
27 .sp
28 .ne 2
29 .na
30 \fB\fB-a\fR\fR
31 .ad
32 .RS 6n
33 Print all remote mounts in the format:
34 .sp
35 \fBhostname\fR\fB : directory\fR
36 .sp
37 where \fBhostname\fR is the name of the client, and \fBdirectory\fR is the root
38 of the file system that has been mounted.
39 .RE
41 .sp
42 .ne 2
43 .na
44 \fB\fB-d\fR\fR
45 .ad
46 .RS 6n
47 List directories that have been remotely mounted by clients.
48 .RE
50 .sp
51 .ne 2
52 .na
53 \fB\fB-e\fR\fR
54 .ad
55 .RS 6n
56 Print the list of shared file systems.
57 .RE
59 .SH FILES
60 .sp
61 .ne 2
62 .na
63 \fB\fB/etc/rmtab\fR\fR
64 .ad
65 .RS 14n
67 .RE
69 .SH SEE ALSO
70 .sp
71 .LP
72 \fBhostname\fR(1), \fBmountd\fR(1M), \fBattributes\fR(5)
73 .sp
74 .LP
75 \fI\fR
76 .SH BUGS
77 .sp
78 .LP
79 If a client crashes, its entry will not be removed from the list of remote
80 mounts on the server.