xref: /titanic_51/usr/src/man/man4/autofs.4 (revision 1e194cd1a618eb48f311652742895fc33026c470)
1.\"
2.\" The contents of this file are subject to the terms of the
3.\" Common Development and Distribution License (the "License").
4.\" You may not use this file except in compliance with the License.
5.\"
6.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7.\" or http://www.opensolaris.org/os/licensing.
8.\" See the License for the specific language governing permissions
9.\" and limitations under the License.
10.\"
11.\" When distributing Covered Code, include this CDDL HEADER in each
12.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
13.\" If applicable, add the following below this CDDL HEADER, with the
14.\" fields enclosed by brackets "[]" replaced with your own identifying
15.\" information: Portions Copyright [yyyy] [name of copyright owner]
16.\"
17.\"
18.\" Copyright (c) 2002 Sun Microsystems, Inc. All rights reserved.
19.\" Copyright 2016 Nexenta Systems, Inc.
20.\"
21.Dd March 1, 2016
22.Dt AUTOFS 4
23.Os
24.Sh NAME
25.Nm autofs
26.Nd automount configuration properties
27.Sh DESCRIPTION
28The behavior of the
29.Xr automount 1M
30command and the
31.Xr automountd 1M
32daemon is controlled by property values that are stored in the Service
33Management Facility,
34.Xr smf 5 .
35The
36.Xr sharectl 1M
37command should be used to query or change values for these properties.
38.Pp
39Changes made to
40.Nm
41property values on an
42.Nm automount
43or
44.Nm automountd
45command line override the values set using
46.Xr sharectl 1M .
47.Pp
48The following list describes the properties:
49.Bl -tag -width Ds
50.It Sy timeout Ns = Ns Ar num
51Specifies a duration, in seconds, that a file system is to remain mounted when
52not in use. The default value is 600
53.Pq 10 minutes .
54Equivalent to the
55.Fl t
56option in
57.Nm automount .
58.It Sy automount_verbose Ns = Ns Sy true Ns | Ns Sy false
59Verbose mode. Causes you to be notified of non-critical events, such as
60.Nm
61mounts and unmounts. The default value is
62.Sy false .
63Equivalent to the
64.Fl v
65option in
66.Nm automount .
67.It Sy automountd_verbose Ns = Ns Sy true Ns | Ns Sy false
68Verbose mode. Causes status messages to be logged to the
69svc:/system/filesystem/autofs:default log file. The default value is
70.Sy false .
71Equivalent to the
72.Fl v
73option in
74.Nm automountd .
75.It Sy nobrowse Ns = Ns Sy true Ns | Ns Sy false
76Turn on or off browsing for all
77.Nm
78mount points. The default value is
79.Sy false .
80Equivalent to the
81.Fl n
82option in
83.Nm automountd .
84.It Sy trace Ns = Ns Ar num
85Expands each RPC call and logs it to svc:/system/filesystem/autofs:default
86log file. The default value, 0, turns off such tracing. Starting with 1,
87with each higher value, the verbosity of trace output increases.
88.It Xo
89.Sy environment Ns = Ns Ar name Ns = Ns Ar value Ns
90.Oo , Ns Ar name Ns = Ns Ar value Oc Ns ...
91.Xc
92Specifies a comma separated list of environment variables. If an environment
93variable has more than one value, those values should be separated with a comma,
94preceded by a backslash as an escape character
95.Pq Qq Sy \e, .
96For example:
97.Bd -literal -offset indent
98VAR1=val1,VAR2=val2\e,val3
99.Ed
100.El
101.Sh SEE ALSO
102.Xr automount 1M ,
103.Xr automountd 1M ,
104.Xr sharectl 1M ,
105.Xr smf 5
106