]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-udevd.service.xml
sd-event: define a new PREPARING state
[thirdparty/systemd.git] / man / systemd-udevd.service.xml
CommitLineData
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
dfdebb1b
ZJS
5<refentry id="systemd-udevd.service"
6 xmlns:xi="http://www.w3.org/2001/XInclude">
7
63749b1a 8 <refentryinfo>
49408357 9 <title>systemd-udevd.service</title>
d3a2386d
KS
10 <productname>systemd</productname>
11 <authorgroup>
12 <author>
13 <contrib>Developer</contrib>
14 <firstname>Kay</firstname>
15 <surname>Sievers</surname>
16 <email>kay@vrfy.org</email>
17 </author>
18 </authorgroup>
63749b1a 19 </refentryinfo>
420a506e 20
63749b1a 21 <refmeta>
bad1837c 22 <refentrytitle>systemd-udevd.service</refentrytitle>
63749b1a 23 <manvolnum>8</manvolnum>
63749b1a 24 </refmeta>
420a506e 25
63749b1a 26 <refnamediv>
51dfddc2
CG
27 <refname>systemd-udevd.service</refname>
28 <refname>systemd-udevd-control.socket</refname>
29 <refname>systemd-udevd-kernel.socket</refname>
bad1837c 30 <refname>systemd-udevd</refname>
b79f817b 31 <refpurpose>Device event managing daemon</refpurpose>
63749b1a 32 </refnamediv>
420a506e 33
63749b1a 34 <refsynopsisdiv>
51dfddc2
CG
35 <para><filename>systemd-udevd.service</filename></para>
36 <para><filename>systemd-udevd-control.socket</filename></para>
37 <para><filename>systemd-udevd-kernel.socket</filename></para>
b79f817b 38
63749b1a 39 <cmdsynopsis>
12b42c76 40 <command>/usr/lib/systemd/systemd-udevd</command>
63749b1a 41 <arg><option>--daemon</option></arg>
63749b1a 42 <arg><option>--debug</option></arg>
9fa68615
KS
43 <arg><option>--children-max=</option></arg>
44 <arg><option>--exec-delay=</option></arg>
9719859c 45 <arg><option>--event-timeout=</option></arg>
63749b1a 46 <arg><option>--resolve-names=early|late|never</option></arg>
9fa68615 47 <arg><option>--version</option></arg>
63749b1a
KS
48 <arg><option>--help</option></arg>
49 </cmdsynopsis>
b79f817b 50
63749b1a 51 </refsynopsisdiv>
420a506e 52
63749b1a 53 <refsect1><title>Description</title>
b8e8f0cb 54 <para><command>systemd-udevd</command> listens to kernel uevents.
6fc5a404
ZJS
55 For every event, systemd-udevd executes matching instructions
56 specified in udev rules. See <citerefentry>
57 <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
58 </citerefentry>.</para>
59
203af57f
ZJS
60 <para>The behavior of the daemon can be configured using
61 <citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
81c7dd89
LP
62 its command line options, environment variables, and on the kernel
63 command line, or changed dynamically with <command>udevadm
203af57f 64 control</command>.
6fc5a404 65 </para>
63749b1a 66 </refsect1>
420a506e 67
63749b1a
KS
68 <refsect1><title>Options</title>
69 <variablelist>
70 <varlistentry>
71 <term><option>--daemon</option></term>
72 <listitem>
73 <para>Detach and run in the background.</para>
74 </listitem>
75 </varlistentry>
dfdebb1b 76
63749b1a 77 <varlistentry>
9fa68615
KS
78 <term><option>--debug</option></term>
79 <listitem>
6db27428 80 <para>Print debug messages to standard error.</para>
9fa68615
KS
81 </listitem>
82 </varlistentry>
dfdebb1b 83
9fa68615
KS
84 <varlistentry>
85 <term><option>--children-max=</option></term>
63749b1a 86 <listitem>
b8e8f0cb 87 <para>Limit the number of events executed in parallel.</para>
63749b1a
KS
88 </listitem>
89 </varlistentry>
dfdebb1b 90
63749b1a 91 <varlistentry>
9fa68615 92 <term><option>--exec-delay=</option></term>
63749b1a 93 <listitem>
6db27428 94 <para>Delay the execution of <varname>RUN</varname>
66f756d4 95 instructions by the given number of seconds. This option
6db27428
ZJS
96 might be useful when debugging system crashes during
97 coldplug caused by loading non-working kernel
98 modules.</para>
63749b1a
KS
99 </listitem>
100 </varlistentry>
dfdebb1b 101
9719859c
HR
102 <varlistentry>
103 <term><option>--event-timeout=</option></term>
104 <listitem>
dd5eddd2 105 <para>Set the number of seconds to wait for events to finish. After
b938cb90 106 this time, the event will be terminated. The default is 180 seconds.</para>
9719859c
HR
107 </listitem>
108 </varlistentry>
109
63749b1a 110 <varlistentry>
9fa68615 111 <term><option>--resolve-names=</option></term>
63749b1a 112 <listitem>
f13b388f 113 <para>Specify when systemd-udevd should resolve names of users and groups.
73e231ab 114 When set to <option>early</option> (the default), names will be
63749b1a 115 resolved when the rules are parsed. When set to
73e231ab
JE
116 <option>late</option>, names will be resolved for every event.
117 When set to <option>never</option>, names will never be resolved
63749b1a
KS
118 and all devices will be owned by root.</para>
119 </listitem>
120 </varlistentry>
dfdebb1b 121
63749b1a
KS
122 <varlistentry>
123 <term><option>--help</option></term>
dfdebb1b
ZJS
124
125 <xi:include href="standard-options.xml" xpointer="help-text" />
63749b1a 126 </varlistentry>
dfdebb1b 127 <xi:include href="standard-options.xml" xpointer="version" />
63749b1a
KS
128 </variablelist>
129 </refsect1>
420a506e 130
8f7f1a2b 131 <refsect1><title>Kernel command line</title>
ccc9a4f9 132 <variablelist class='kernel-commandline-options'>
b8e8f0cb
ZJS
133 <para>Parameters starting with "rd." will be read when
134 <command>systemd-udevd</command> is used in an initrd.</para>
8f7f1a2b
KS
135 <varlistentry>
136 <term><varname>udev.log-priority=</varname></term>
e6f86cac 137 <term><varname>rd.udev.log-priority=</varname></term>
8f7f1a2b 138 <listitem>
f47ad593 139 <para>Set the log level.</para>
8f7f1a2b
KS
140 </listitem>
141 </varlistentry>
142 <varlistentry>
143 <term><varname>udev.children-max=</varname></term>
e6f86cac 144 <term><varname>rd.udev.children-max=</varname></term>
8f7f1a2b 145 <listitem>
b8e8f0cb 146 <para>Limit the number of events executed in parallel.</para>
8f7f1a2b
KS
147 </listitem>
148 </varlistentry>
149 <varlistentry>
150 <term><varname>udev.exec-delay=</varname></term>
e6f86cac 151 <term><varname>rd.udev.exec-delay=</varname></term>
8f7f1a2b 152 <listitem>
ed7e5fe3 153 <para>Delay the execution of <varname>RUN</varname> instructions by the given
b8e8f0cb
ZJS
154 number of seconds. This option might be useful when
155 debugging system crashes during coldplug caused by loading
156 non-working kernel modules.</para>
63749b1a
KS
157 </listitem>
158 </varlistentry>
9719859c
HR
159 <varlistentry>
160 <term><varname>udev.event-timeout=</varname></term>
161 <term><varname>rd.udev.event-timeout=</varname></term>
162 <listitem>
163 <para>Wait for events to finish up to the given number
164 of seconds. This option might be useful if events are
dd5eddd2 165 terminated due to kernel drivers taking too long to initialize.</para>
9719859c
HR
166 </listitem>
167 </varlistentry>
0cf2d0d0 168 <varlistentry>
5a33334b 169 <term><varname>net.ifnames=</varname></term>
0cf2d0d0 170 <listitem>
5a33334b 171 <para>Network interfaces are renamed to give them predictable names
bcddd5bf 172 when possible. It is enabled by default; specifying 0 disables it.</para>
0cf2d0d0
TG
173 </listitem>
174 </varlistentry>
63749b1a 175 </variablelist>
a057be1f
ZJS
176 <!-- when adding entries here, consider also adding them
177 in kernel-command-line.xml -->
63749b1a 178 </refsect1>
7b86ada7 179
63749b1a
KS
180 <refsect1>
181 <title>See Also</title>
6fc5a404
ZJS
182 <para>
183 <citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
184 <citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
185 <citerefentry><refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum></citerefentry>
186 </para>
63749b1a
KS
187 </refsect1>
188</refentry>