xref: /titanic_51/usr/src/man/man1m/automountd.1m (revision ccdeb6b6d71f3c9aa7e78b688f7b34fff109a817)
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 1989 AT&T
19.\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
20.\" Copyright 2016 Nexenta Systems, Inc.
21.\"
22.Dd March 1, 2016
23.Dt AUTOMOUNTD 1M
24.Os
25.Sh NAME
26.Nm automountd
27.Nd autofs mount/unmount daemon
28.Sh SYNOPSIS
29.Nm
30.Op Fl nTv
31.Op Fl D Ar name Ns = Ns Ar value
32.Sh DESCRIPTION
33.Nm
34is an RPC server that answers file system mount and unmount requests from the
35.Nm autofs
36file system. It uses local files or name service maps to locate file systems to
37be mounted. These maps are described with the
38.Xr automount 1M
39command.
40.Pp
41If
42.Nm automount
43finds any non-trivial entries in either the local or distributed automount maps
44and if the daemon is not running already, the
45.Nm
46daemon is automatically invoked by
47.Xr automount 1M .
48.Nm
49enables the svc:/network/nfs/nlockmgr service
50.Pq Xr lockd 1M ,
51and the svc:/network/nfs/status service
52.Pq Xr statd 1M ,
53if NFS mounts need to be done.
54.Sh OPTIONS
55The following options are supported:
56.Bl -tag -width Ds
57.It Fl D Ar name Ns = Ns Ar value
58Assign
59.Ar value
60to the indicated
61.Nm automount
62map substitution variable. These assignments cannot be used to substitute
63variables in the master map
64.Sy auto_master .
65.It Fl n
66Turn off browsing for all
67.Nm autofs
68mount points. This option overrides the
69.Sy -browse
70.Nm autofs
71map option on the local host.
72.It Fl T
73Trace. Expand each RPC call and display it on the standard output.
74.It Fl v
75Verbose. Log status messages to the console.
76.El
77.Sh USAGE
78See
79.Xr largefile 5
80for the description of the behavior of
81.Nm
82when encountering files greater than or equal to 2 Gbyte
83.Pq 2^31 bytes .
84.Sh FILES
85.Bl -tag -width Ds
86.It Pa /etc/auto_master
87Master map for automounter.
88.El
89.Sh SEE ALSO
90.Xr svcs 1 ,
91.Xr automount 1M ,
92.Xr svcadm 1M ,
93.Xr autofs 4 ,
94.Xr attributes 5 ,
95.Xr largefile 5 ,
96.Xr smf 5
97.Sh NOTES
98The
99.Nm
100service is managed by the service management facility,
101.Xr smf 5 ,
102under the service identifier:
103.Bd -literal -offset indent
104svc:/system/filesystem/autofs
105.Ed
106.Pp
107Administrative actions on this service, such as enabling, disabling, or
108requesting restart, can be performed using
109.Xr svcadm 1M .
110The service's status can be queried using
111.Xr svcs 1 .
112If it is disabled, it is enabled by
113.Xr automount 1M
114unless the
115.Sy application Ns / Ns Sy auto_enable
116property is set to
117.Sy false .
118