]>
Commit | Line | Data |
---|---|---|
3802a3d3 | 1 | <?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*--> |
63749b1a | 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" |
12b42c76 | 3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
420a506e | 4 | |
f48f7543 ZJS |
5 | <!-- |
6 | SPDX-License-Identifier: LGPL-2.1+ | |
7 | ||
8 | This file is part of systemd. | |
9 | ||
10 | Copyright 2010-2013 Kay Sievers | |
11 | ||
12 | systemd is free software; you can redistribute it and/or modify it | |
13 | under the terms of the GNU Lesser General Public License as published by | |
14 | the Free Software Foundation; either version 2.1 of the License, or | |
15 | (at your option) any later version. | |
16 | ||
17 | systemd is distributed in the hope that it will be useful, but | |
18 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
20 | Lesser General Public License for more details. | |
21 | ||
22 | You should have received a copy of the GNU Lesser General Public License | |
23 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
24 | --> | |
25 | ||
dfdebb1b ZJS |
26 | <refentry id="systemd-udevd.service" |
27 | xmlns:xi="http://www.w3.org/2001/XInclude"> | |
28 | ||
63749b1a | 29 | <refentryinfo> |
49408357 | 30 | <title>systemd-udevd.service</title> |
d3a2386d KS |
31 | <productname>systemd</productname> |
32 | <authorgroup> | |
33 | <author> | |
34 | <contrib>Developer</contrib> | |
35 | <firstname>Kay</firstname> | |
36 | <surname>Sievers</surname> | |
37 | <email>kay@vrfy.org</email> | |
38 | </author> | |
39 | </authorgroup> | |
63749b1a | 40 | </refentryinfo> |
420a506e | 41 | |
63749b1a | 42 | <refmeta> |
bad1837c | 43 | <refentrytitle>systemd-udevd.service</refentrytitle> |
63749b1a | 44 | <manvolnum>8</manvolnum> |
63749b1a | 45 | </refmeta> |
420a506e | 46 | |
63749b1a | 47 | <refnamediv> |
51dfddc2 CG |
48 | <refname>systemd-udevd.service</refname> |
49 | <refname>systemd-udevd-control.socket</refname> | |
50 | <refname>systemd-udevd-kernel.socket</refname> | |
bad1837c | 51 | <refname>systemd-udevd</refname> |
b79f817b | 52 | <refpurpose>Device event managing daemon</refpurpose> |
63749b1a | 53 | </refnamediv> |
420a506e | 54 | |
63749b1a | 55 | <refsynopsisdiv> |
51dfddc2 CG |
56 | <para><filename>systemd-udevd.service</filename></para> |
57 | <para><filename>systemd-udevd-control.socket</filename></para> | |
58 | <para><filename>systemd-udevd-kernel.socket</filename></para> | |
b79f817b | 59 | |
63749b1a | 60 | <cmdsynopsis> |
12b42c76 | 61 | <command>/usr/lib/systemd/systemd-udevd</command> |
63749b1a | 62 | <arg><option>--daemon</option></arg> |
63749b1a | 63 | <arg><option>--debug</option></arg> |
9fa68615 KS |
64 | <arg><option>--children-max=</option></arg> |
65 | <arg><option>--exec-delay=</option></arg> | |
9719859c | 66 | <arg><option>--event-timeout=</option></arg> |
63749b1a | 67 | <arg><option>--resolve-names=early|late|never</option></arg> |
9fa68615 | 68 | <arg><option>--version</option></arg> |
63749b1a KS |
69 | <arg><option>--help</option></arg> |
70 | </cmdsynopsis> | |
b79f817b | 71 | |
63749b1a | 72 | </refsynopsisdiv> |
420a506e | 73 | |
63749b1a | 74 | <refsect1><title>Description</title> |
b8e8f0cb | 75 | <para><command>systemd-udevd</command> listens to kernel uevents. |
6fc5a404 ZJS |
76 | For every event, systemd-udevd executes matching instructions |
77 | specified in udev rules. See <citerefentry> | |
78 | <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum> | |
79 | </citerefentry>.</para> | |
80 | ||
203af57f ZJS |
81 | <para>The behavior of the daemon can be configured using |
82 | <citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, | |
81c7dd89 LP |
83 | its command line options, environment variables, and on the kernel |
84 | command line, or changed dynamically with <command>udevadm | |
203af57f | 85 | control</command>. |
6fc5a404 | 86 | </para> |
63749b1a | 87 | </refsect1> |
420a506e | 88 | |
63749b1a KS |
89 | <refsect1><title>Options</title> |
90 | <variablelist> | |
91 | <varlistentry> | |
92 | <term><option>--daemon</option></term> | |
93 | <listitem> | |
94 | <para>Detach and run in the background.</para> | |
95 | </listitem> | |
96 | </varlistentry> | |
dfdebb1b | 97 | |
63749b1a | 98 | <varlistentry> |
9fa68615 KS |
99 | <term><option>--debug</option></term> |
100 | <listitem> | |
6db27428 | 101 | <para>Print debug messages to standard error.</para> |
9fa68615 KS |
102 | </listitem> |
103 | </varlistentry> | |
dfdebb1b | 104 | |
9fa68615 KS |
105 | <varlistentry> |
106 | <term><option>--children-max=</option></term> | |
63749b1a | 107 | <listitem> |
b8e8f0cb | 108 | <para>Limit the number of events executed in parallel.</para> |
63749b1a KS |
109 | </listitem> |
110 | </varlistentry> | |
dfdebb1b | 111 | |
63749b1a | 112 | <varlistentry> |
9fa68615 | 113 | <term><option>--exec-delay=</option></term> |
63749b1a | 114 | <listitem> |
6db27428 | 115 | <para>Delay the execution of <varname>RUN</varname> |
66f756d4 | 116 | instructions by the given number of seconds. This option |
6db27428 ZJS |
117 | might be useful when debugging system crashes during |
118 | coldplug caused by loading non-working kernel | |
119 | modules.</para> | |
63749b1a KS |
120 | </listitem> |
121 | </varlistentry> | |
dfdebb1b | 122 | |
9719859c HR |
123 | <varlistentry> |
124 | <term><option>--event-timeout=</option></term> | |
125 | <listitem> | |
dd5eddd2 | 126 | <para>Set the number of seconds to wait for events to finish. After |
b938cb90 | 127 | this time, the event will be terminated. The default is 180 seconds.</para> |
9719859c HR |
128 | </listitem> |
129 | </varlistentry> | |
130 | ||
63749b1a | 131 | <varlistentry> |
9fa68615 | 132 | <term><option>--resolve-names=</option></term> |
63749b1a | 133 | <listitem> |
f13b388f | 134 | <para>Specify when systemd-udevd should resolve names of users and groups. |
73e231ab | 135 | When set to <option>early</option> (the default), names will be |
63749b1a | 136 | resolved when the rules are parsed. When set to |
73e231ab JE |
137 | <option>late</option>, names will be resolved for every event. |
138 | When set to <option>never</option>, names will never be resolved | |
63749b1a KS |
139 | and all devices will be owned by root.</para> |
140 | </listitem> | |
141 | </varlistentry> | |
dfdebb1b | 142 | |
63749b1a KS |
143 | <varlistentry> |
144 | <term><option>--help</option></term> | |
dfdebb1b ZJS |
145 | |
146 | <xi:include href="standard-options.xml" xpointer="help-text" /> | |
63749b1a | 147 | </varlistentry> |
dfdebb1b | 148 | <xi:include href="standard-options.xml" xpointer="version" /> |
63749b1a KS |
149 | </variablelist> |
150 | </refsect1> | |
420a506e | 151 | |
8f7f1a2b | 152 | <refsect1><title>Kernel command line</title> |
ccc9a4f9 | 153 | <variablelist class='kernel-commandline-options'> |
b8e8f0cb ZJS |
154 | <para>Parameters starting with "rd." will be read when |
155 | <command>systemd-udevd</command> is used in an initrd.</para> | |
8f7f1a2b | 156 | <varlistentry> |
1d84ad94 LP |
157 | <term><varname>udev.log_priority=</varname></term> |
158 | <term><varname>rd.udev.log_priority=</varname></term> | |
8f7f1a2b | 159 | <listitem> |
f47ad593 | 160 | <para>Set the log level.</para> |
8f7f1a2b KS |
161 | </listitem> |
162 | </varlistentry> | |
163 | <varlistentry> | |
1d84ad94 LP |
164 | <term><varname>udev.children_max=</varname></term> |
165 | <term><varname>rd.udev.children_max=</varname></term> | |
8f7f1a2b | 166 | <listitem> |
b8e8f0cb | 167 | <para>Limit the number of events executed in parallel.</para> |
8f7f1a2b KS |
168 | </listitem> |
169 | </varlistentry> | |
170 | <varlistentry> | |
1d84ad94 LP |
171 | <term><varname>udev.exec_delay=</varname></term> |
172 | <term><varname>rd.udev.exec_delay=</varname></term> | |
8f7f1a2b | 173 | <listitem> |
ed7e5fe3 | 174 | <para>Delay the execution of <varname>RUN</varname> instructions by the given |
b8e8f0cb ZJS |
175 | number of seconds. This option might be useful when |
176 | debugging system crashes during coldplug caused by loading | |
177 | non-working kernel modules.</para> | |
63749b1a KS |
178 | </listitem> |
179 | </varlistentry> | |
9719859c | 180 | <varlistentry> |
1d84ad94 LP |
181 | <term><varname>udev.event_timeout=</varname></term> |
182 | <term><varname>rd.udev.event_timeout=</varname></term> | |
9719859c HR |
183 | <listitem> |
184 | <para>Wait for events to finish up to the given number | |
185 | of seconds. This option might be useful if events are | |
dd5eddd2 | 186 | terminated due to kernel drivers taking too long to initialize.</para> |
9719859c HR |
187 | </listitem> |
188 | </varlistentry> | |
0cf2d0d0 | 189 | <varlistentry> |
5a33334b | 190 | <term><varname>net.ifnames=</varname></term> |
0cf2d0d0 | 191 | <listitem> |
5a33334b | 192 | <para>Network interfaces are renamed to give them predictable names |
bcddd5bf | 193 | when possible. It is enabled by default; specifying 0 disables it.</para> |
0cf2d0d0 TG |
194 | </listitem> |
195 | </varlistentry> | |
63749b1a | 196 | </variablelist> |
a057be1f ZJS |
197 | <!-- when adding entries here, consider also adding them |
198 | in kernel-command-line.xml --> | |
63749b1a | 199 | </refsect1> |
7b86ada7 | 200 | |
63749b1a KS |
201 | <refsect1> |
202 | <title>See Also</title> | |
6fc5a404 ZJS |
203 | <para> |
204 | <citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, | |
205 | <citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry>, | |
206 | <citerefentry><refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
207 | </para> | |
63749b1a KS |
208 | </refsect1> |
209 | </refentry> |