293 useradd/del/mod should be ZFS-aware
[illumos-gate.git] / usr / src / man / man1m / dfmounts_nfs.1m
blobfa13968341431b97728ba65cce8c64d9645c7394
1 '\" te
2 .\"  Copyright 1989 AT&T  Copyright (c) 1995, 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 DFMOUNTS_NFS 1M "Nov 6, 2000"
7 .SH NAME
8 dfmounts_nfs \- display mounted NFS resource information
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBdfmounts\fR [\fB-F\fR nfs] [\fB-h\fR] [\fIserver\fR]...
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBdfmounts\fR shows the local resources shared through  \fBNFS,\fR along with
19 the list of clients that have mounted the resource. The \fB-F\fR flag may be
20 omitted if  \fBNFS\fR is the only file system type listed in the file
21 \fB/etc/dfs/fstypes\fR.
22 .sp
23 .LP
24 \fBdfmounts\fR without options, displays all remote resources mounted on the
25 local system, regardless of file system type.
26 .sp
27 .LP
28 The output of \fBdfmounts\fR consists of an optional header line (suppressed
29 with the \fB-h\fR flag) followed by a list of lines containing
30 whitespace-separated fields.  For each resource, the fields are:
31 .sp
32 .in +2
33 .nf
34 \fIresource server pathname clients ...\fR
35 .fi
36 .in -2
38 .sp
39 .LP
40 where
41 .sp
42 .ne 2
43 .na
44 \fB\fIresource\fR\fR
45 .ad
46 .RS 12n
47 Does not apply to  \fBNFS.\fR Printed as a hyphen (-).
48 .RE
50 .sp
51 .ne 2
52 .na
53 \fB\fIserver\fR\fR
54 .ad
55 .RS 12n
56 Specifies the system from which the resource was mounted.
57 .RE
59 .sp
60 .ne 2
61 .na
62 \fB\fIpathname\fR\fR
63 .ad
64 .RS 12n
65 Specifies the pathname that must be given to the \fBshare\fR(1M) command.
66 .RE
68 .sp
69 .ne 2
70 .na
71 \fB\fIclients\fR\fR
72 .ad
73 .RS 12n
74 Is a comma-separated list of systems that have mounted the resource.
75 .RE
77 .SH OPTIONS
78 .sp
79 .ne 2
80 .na
81 \fB\fB-F\fR \fBnfs\fR\fR
82 .ad
83 .RS 10n
84 Specifies the \fBnfs\fR-FSType.
85 .RE
87 .sp
88 .ne 2
89 .na
90 \fB\fB-h\fR\fR
91 .ad
92 .RS 10n
93 Suppress header line in output.
94 .RE
96 .sp
97 .ne 2
98 .na
99 \fB\fIserver\fR\fR
101 .RS 10n
102 Displays information about the resources mounted from each server, where
103 \fIserver\fR can be any system on the network.  If no server is specified, the
104 \fIserver\fR is assumed to be the local system.
107 .SH FILES
109 .ne 2
111 \fB\fB/etc/dfs/fstypes\fR\fR
113 .RS 20n
117 .SH SEE ALSO
120 \fBmount\fR(1M), \fBshare\fR(1M), \fBunshare\fR(1M), \fBattributes\fR(5)