2005-08-30 10:41:42 +08:00
|
|
|
<?xml version='1.0'?>
|
2010-05-24 23:00:15 +08:00
|
|
|
<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
|
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
2005-08-30 10:41:42 +08:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
|
|
2014-02-14 03:33:51 +08:00
|
|
|
<refentry id="systemd-udevd.service"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refentryinfo>
|
2012-06-26 06:12:00 +08:00
|
|
|
<title>systemd-udevd.service</title>
|
2012-04-04 20:42:32 +08:00
|
|
|
<productname>systemd</productname>
|
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<contrib>Developer</contrib>
|
|
|
|
<firstname>Kay</firstname>
|
|
|
|
<surname>Sievers</surname>
|
|
|
|
<email>kay@vrfy.org</email>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
2010-05-24 23:00:15 +08:00
|
|
|
</refentryinfo>
|
2005-08-30 10:41:42 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refmeta>
|
2012-07-29 17:58:41 +08:00
|
|
|
<refentrytitle>systemd-udevd.service</refentrytitle>
|
2010-05-24 23:00:15 +08:00
|
|
|
<manvolnum>8</manvolnum>
|
|
|
|
</refmeta>
|
2005-08-30 10:41:42 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refnamediv>
|
2012-07-03 03:35:14 +08:00
|
|
|
<refname>systemd-udevd.service</refname>
|
|
|
|
<refname>systemd-udevd-control.socket</refname>
|
|
|
|
<refname>systemd-udevd-kernel.socket</refname>
|
2012-07-29 17:58:41 +08:00
|
|
|
<refname>systemd-udevd</refname>
|
2012-06-22 16:38:40 +08:00
|
|
|
<refpurpose>Device event managing daemon</refpurpose>
|
2010-05-24 23:00:15 +08:00
|
|
|
</refnamediv>
|
2005-08-30 10:41:42 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refsynopsisdiv>
|
2012-07-03 03:35:14 +08:00
|
|
|
<para><filename>systemd-udevd.service</filename></para>
|
|
|
|
<para><filename>systemd-udevd-control.socket</filename></para>
|
|
|
|
<para><filename>systemd-udevd-kernel.socket</filename></para>
|
2012-06-22 16:38:40 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<cmdsynopsis>
|
2012-06-22 16:38:40 +08:00
|
|
|
<command>/usr/lib/systemd/systemd-udevd</command>
|
2010-05-24 23:00:15 +08:00
|
|
|
<arg><option>--daemon</option></arg>
|
|
|
|
<arg><option>--debug</option></arg>
|
2010-05-28 21:11:36 +08:00
|
|
|
<arg><option>--children-max=</option></arg>
|
|
|
|
<arg><option>--exec-delay=</option></arg>
|
2014-07-29 15:06:14 +08:00
|
|
|
<arg><option>--event-timeout=</option></arg>
|
2010-05-24 23:00:15 +08:00
|
|
|
<arg><option>--resolve-names=early|late|never</option></arg>
|
2010-05-28 21:11:36 +08:00
|
|
|
<arg><option>--version</option></arg>
|
2010-05-24 23:00:15 +08:00
|
|
|
<arg><option>--help</option></arg>
|
|
|
|
</cmdsynopsis>
|
2012-06-22 16:38:40 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
</refsynopsisdiv>
|
2005-08-30 10:41:42 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refsect1><title>Description</title>
|
2012-07-29 05:10:15 +08:00
|
|
|
<para><command>systemd-udevd</command> listens to kernel uevents.
|
2014-07-31 16:01:19 +08:00
|
|
|
For every event, systemd-udevd executes matching instructions
|
|
|
|
specified in udev rules. See <citerefentry>
|
|
|
|
<refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
|
|
|
|
</citerefentry>.</para>
|
|
|
|
|
|
|
|
<para>The behavior of the running daemon can be changed
|
|
|
|
dynamically with <command>udevadm control</command>, or
|
|
|
|
configured using
|
|
|
|
<citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
|
|
|
|
</para>
|
2010-05-24 23:00:15 +08:00
|
|
|
</refsect1>
|
2005-08-30 10:41:42 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refsect1><title>Options</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><option>--daemon</option></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Detach and run in the background.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-02-14 03:33:51 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<varlistentry>
|
2010-05-28 21:11:36 +08:00
|
|
|
<term><option>--debug</option></term>
|
|
|
|
<listitem>
|
2014-02-15 11:00:06 +08:00
|
|
|
<para>Print debug messages to standard error.</para>
|
2010-05-28 21:11:36 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-02-14 03:33:51 +08:00
|
|
|
|
2010-05-28 21:11:36 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--children-max=</option></term>
|
2010-05-24 23:00:15 +08:00
|
|
|
<listitem>
|
2012-07-29 05:10:15 +08:00
|
|
|
<para>Limit the number of events executed in parallel.</para>
|
2010-05-24 23:00:15 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-02-14 03:33:51 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<varlistentry>
|
2010-05-28 21:11:36 +08:00
|
|
|
<term><option>--exec-delay=</option></term>
|
2010-05-24 23:00:15 +08:00
|
|
|
<listitem>
|
2014-02-15 11:00:06 +08:00
|
|
|
<para>Delay the execution of <varname>RUN</varname>
|
2014-02-17 10:37:18 +08:00
|
|
|
instructions by the given number of seconds. This option
|
2014-02-15 11:00:06 +08:00
|
|
|
might be useful when debugging system crashes during
|
|
|
|
coldplug caused by loading non-working kernel
|
|
|
|
modules.</para>
|
2010-05-24 23:00:15 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-02-14 03:33:51 +08:00
|
|
|
|
2014-07-29 15:06:14 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--event-timeout=</option></term>
|
|
|
|
<listitem>
|
2014-07-29 21:18:27 +08:00
|
|
|
<para>Set the number of seconds to wait for events to finish. After
|
|
|
|
this time the event will be terminated. The default is 30 seconds.</para>
|
2014-07-29 15:06:14 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<varlistentry>
|
2010-05-28 21:11:36 +08:00
|
|
|
<term><option>--resolve-names=</option></term>
|
2010-05-24 23:00:15 +08:00
|
|
|
<listitem>
|
2012-04-17 05:32:22 +08:00
|
|
|
<para>Specify when systemd-udevd should resolve names of users and groups.
|
2014-02-17 10:37:13 +08:00
|
|
|
When set to <option>early</option> (the default), names will be
|
2010-05-24 23:00:15 +08:00
|
|
|
resolved when the rules are parsed. When set to
|
2014-02-17 10:37:13 +08:00
|
|
|
<option>late</option>, names will be resolved for every event.
|
|
|
|
When set to <option>never</option>, names will never be resolved
|
2010-05-24 23:00:15 +08:00
|
|
|
and all devices will be owned by root.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-02-14 03:33:51 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><option>--help</option></term>
|
2014-02-14 03:33:51 +08:00
|
|
|
|
|
|
|
<xi:include href="standard-options.xml" xpointer="help-text" />
|
2010-05-24 23:00:15 +08:00
|
|
|
</varlistentry>
|
2014-02-14 03:33:51 +08:00
|
|
|
<xi:include href="standard-options.xml" xpointer="version" />
|
2010-05-24 23:00:15 +08:00
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
2005-08-30 10:41:42 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refsect1><title>Environment</title>
|
2013-01-26 23:47:16 +08:00
|
|
|
<variablelist class='environment-variables'>
|
2010-05-24 23:00:15 +08:00
|
|
|
<varlistentry>
|
2013-01-26 23:45:37 +08:00
|
|
|
<term><varname>$UDEV_LOG=</varname></term>
|
2010-05-24 23:00:15 +08:00
|
|
|
<listitem>
|
2010-05-30 04:23:48 +08:00
|
|
|
<para>Set the logging priority.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1><title>Kernel command line</title>
|
2013-01-26 23:47:16 +08:00
|
|
|
<variablelist class='kernel-commandline-options'>
|
2012-07-29 05:10:15 +08:00
|
|
|
<para>Parameters starting with "rd." will be read when
|
|
|
|
<command>systemd-udevd</command> is used in an initrd.</para>
|
2010-05-30 04:23:48 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>udev.log-priority=</varname></term>
|
2012-06-05 04:46:32 +08:00
|
|
|
<term><varname>rd.udev.log-priority=</varname></term>
|
2010-05-30 04:23:48 +08:00
|
|
|
<listitem>
|
|
|
|
<para>Set the logging priority.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>udev.children-max=</varname></term>
|
2012-06-05 04:46:32 +08:00
|
|
|
<term><varname>rd.udev.children-max=</varname></term>
|
2010-05-30 04:23:48 +08:00
|
|
|
<listitem>
|
2012-07-29 05:10:15 +08:00
|
|
|
<para>Limit the number of events executed in parallel.</para>
|
2010-05-30 04:23:48 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>udev.exec-delay=</varname></term>
|
2012-06-05 04:46:32 +08:00
|
|
|
<term><varname>rd.udev.exec-delay=</varname></term>
|
2010-05-30 04:23:48 +08:00
|
|
|
<listitem>
|
2014-02-17 22:43:36 +08:00
|
|
|
<para>Delay the execution of <varname>RUN</varname> instructions by the given
|
2012-07-29 05:10:15 +08:00
|
|
|
number of seconds. This option might be useful when
|
|
|
|
debugging system crashes during coldplug caused by loading
|
|
|
|
non-working kernel modules.</para>
|
2010-05-24 23:00:15 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-07-29 15:06:14 +08:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>udev.event-timeout=</varname></term>
|
|
|
|
<term><varname>rd.udev.event-timeout=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Wait for events to finish up to the given number
|
|
|
|
of seconds. This option might be useful if events are
|
2014-07-29 21:18:27 +08:00
|
|
|
terminated due to kernel drivers taking too long to initialize.</para>
|
2014-07-29 15:06:14 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2013-03-17 12:23:33 +08:00
|
|
|
<varlistentry>
|
2013-03-19 02:31:34 +08:00
|
|
|
<term><varname>net.ifnames=</varname></term>
|
2013-03-17 12:23:33 +08:00
|
|
|
<listitem>
|
2013-03-19 02:31:34 +08:00
|
|
|
<para>Network interfaces are renamed to give them predictable names
|
2014-02-14 09:25:23 +08:00
|
|
|
when possible. It is enabled by default; specifying 0 disables it.</para>
|
2013-03-17 12:23:33 +08:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2010-05-24 23:00:15 +08:00
|
|
|
</variablelist>
|
2013-05-23 09:11:29 +08:00
|
|
|
<!-- when adding entries here, consider also adding them
|
|
|
|
in kernel-command-line.xml -->
|
2010-05-24 23:00:15 +08:00
|
|
|
</refsect1>
|
2005-08-31 05:30:52 +08:00
|
|
|
|
2010-05-24 23:00:15 +08:00
|
|
|
<refsect1>
|
|
|
|
<title>See Also</title>
|
2014-07-31 16:01:19 +08:00
|
|
|
<para>
|
|
|
|
<citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
|
|
|
<citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
|
|
|
|
<citerefentry><refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
|
|
</para>
|
2010-05-24 23:00:15 +08:00
|
|
|
</refsect1>
|
|
|
|
</refentry>
|