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