xref: /titanic_51/usr/src/man/man4/autofs.4 (revision bbaa8b60dd95d714741fc474adad3cf710ef4efd)
te
Copyright (c) 2002 Sun Microsystems, Inc. All rights reserved.
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.
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.
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]
AUTOFS 4 "Aug 2, 2005"
NAME
autofs - file containing parameter values for automountd daemon and automount command
SYNOPSIS

/etc/default/autofs
DESCRIPTION

The autofs file resides in directory /etc/default and supplies default parameters for the automountd(1M) daemon and the automount(1M) command.

The autofs file format is ASCII; comment lines begin with the crosshatch (#) character. Parameters consist of a keyword followed by an equal sign followed by the parameter value, of the form:

keyword=value

As shipped, the parameters in the autofs file are commented out. As root, you must uncomment a keyword-value line to make the value for that parameter take effect.

Administrators can make changes to the startup parameters for automountd by logging in as root and editing the autofs file. Changes made to autofs values on an automount or automountd command line override values in /etc/default/autofs. The /etc/default/autofs file is preserved across operating system upgrades.

The following parameters are currently supported in the autofs file: AUTOMOUNT_TIMEOUT=<num>

Specifies a duration, in seconds, that a file system is to remain mounted when not in use. The default value is 600 (10 minutes). Equivalent to the -t option in automount.

AUTOMOUNT_VERBOSE=TRUE | FALSE

Verbose mode. Causes you to be notified of non-critical events, suchs as autofs mounts and unmounts. The default value is FALSE. Equivalent to the -v option in automount.

AUTOMOUNTD_VERBOSE=TRUE | FALSE

Verbose mode. Causes status messages to be logged to /var/svc/log/system-filesystem-autofs:default.log. (See smf(5).) The default value is FALSE. Equivalent to the -v option in automountd.

AUTOMOUNTD_NOBROWSE=<num>

Turn on or off browsing for all autofs mount points. The default value is FALSE. Equivalent to the -n option in automountd.

AUTOMOUNTD_TRACE=<num>

Expands each RPC call and logs it to /var/svc/log/system-filesystem-autofs:default.log. (See smf(5).) The default value, 0, turns off such tracing. Starting with 1, with each higher value, the verbosity of trace output increases.

AUTOMOUNTD_ENV=<name>=<value>

Environment variables. Each environment variable-value pairing must be on its own line. You can specify multiple such pairings. There are no environment variable settings supplied. For example: AUTOMOUNTD_ENV=DAY=TUES

SEE ALSO

automount(1M), automountd(1M), smf(5)