6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / man / man1m / automountd.1m
blob4ad9d3f4c797255980b2d53446fa67e4c92935d4
1 '\" te
2 .\"  Copyright 1989 AT&T Copyright (c) 2004, 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 AUTOMOUNTD 1M "Mar 3, 2005"
7 .SH NAME
8 automountd \- autofs mount/unmount daemon
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBautomountd\fR [\fB-Tvn\fR] [\fB-D\fR \fIname=value\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBautomountd\fR is an \fBRPC\fR server that answers file system mount and
19 unmount requests from the \fBautofs\fR file system. It uses local files or name
20 service maps to locate file systems to be mounted. These maps are described
21 with the \fBautomount\fR(1M) command.
22 .sp
23 .LP
24 If \fBautomount\fR finds any non-trivial entries in either the local or
25 distributed automount maps and if the daemon is not running already, the
26 \fBautomountd\fR daemon is automatically invoked by \fBautomount\fR(1M).
27 \fBautomountd\fR enables the \fBsvc:/network/nfs/nlockmgr\fR service
28 (\fBlockd\fR(1M)), and the \fBsvc:/network/nfs/status\fR service
29 (\fBstatd\fR(1M)), if NFS mounts need to be done.
30 .sp
31 .LP
32 At startup, the \fBautomountd\fR daemon is invoked as is invoked as the
33 \fBsystem/filesystem/autofs:default\fR service. See NOTES.
34 .SH OPTIONS
35 .sp
36 .LP
37 The following options are supported:
38 .sp
39 .ne 2
40 .na
41 \fB\fB-D\fR \fIname=value\fR\fR
42 .ad
43 .RS 17n
44 Assign \fIvalue\fR to the indicated \fBautomount\fR map substitution variable.
45 These assignments cannot be used to substitute variables in the master map
46 \fBauto_master\fR.
47 .RE
49 .sp
50 .ne 2
51 .na
52 \fB\fB-n\fR\fR
53 .ad
54 .RS 17n
55 Turn off browsing for all \fBautofs\fR mount points. This option overrides the
56 \fB-browse\fR \fBautofs\fR map option on the local host.
57 .RE
59 .sp
60 .ne 2
61 .na
62 \fB\fB-T\fR\fR
63 .ad
64 .RS 17n
65 Trace. Expand each \fBRPC\fR call and display it on the standard output.
66 .RE
68 .sp
69 .ne 2
70 .na
71 \fB\fB-v\fR\fR
72 .ad
73 .RS 17n
74 Verbose. Log status messages to the console.
75 .RE
77 .SH USAGE
78 .sp
79 .LP
80 See \fBlargefile\fR(5) for the description of the behavior of \fBautomountd\fR
81 when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
82 .SH FILES
83 .sp
84 .ne 2
85 .na
86 \fB\fB/etc/auto_master\fR\fR
87 .ad
88 .RS 23n
89 Master map for automounter.
90 .RE
92 .sp
93 .ne 2
94 .na
95 \fB\fB/etc/default/autofs\fR\fR
96 .ad
97 .RS 23n
98 Supplies default values for parameters for \fBautomount\fR and
99 \fBautomountd\fR. See \fBautofs\fR(4).
102 .SH SEE ALSO
105 \fBsvcs\fR(1), \fBautomount\fR(1M), \fBsvcadm\fR(1M), \fBautofs\fR(4),
106 \fBattributes\fR(5), \fBlargefile\fR(5), \fBsmf\fR(5)
107 .SH NOTES
110 The \fBautomountd\fR service is managed by the service management facility,
111 \fBsmf\fR(5), under the service identifier:
113 .in +2
115 svc:/system/filesystem/autofs
117 .in -2
122 Administrative actions on this service, such as enabling, disabling, or
123 requesting restart, can be performed using \fBsvcadm\fR(1M). The service's
124 status can be queried using \fBsvcs\fR(1). If it is disabled, it is enabled by
125 \fBautomount\fR(1M) unless the \fBapplication/auto_enable\fR property is set to
126 \fBfalse\fR.