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