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