2013-03-27 19:01:59 +07:00
|
|
|
<?xml version='1.0'?>
|
|
|
|
<?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"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
|
|
|
|
|
<refentry id="udevd">
|
|
|
|
<refentryinfo>
|
|
|
|
<title>udevd</title>
|
2014-11-01 08:25:43 +07:00
|
|
|
<productname>eudev</productname>
|
2013-03-27 19:01:59 +07:00
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<contrib>Developer</contrib>
|
|
|
|
<firstname>Kay</firstname>
|
|
|
|
<surname>Sievers</surname>
|
|
|
|
<email>kay@vrfy.org</email>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
|
|
|
</refentryinfo>
|
|
|
|
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>udevd</refentrytitle>
|
|
|
|
<manvolnum>8</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>udevd</refname>
|
|
|
|
<refpurpose>Device event managing daemon</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<para><filename>udevd</filename></para>
|
|
|
|
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>/sbin/udevd</command>
|
|
|
|
<arg><option>--daemon</option></arg>
|
|
|
|
<arg><option>--debug</option></arg>
|
|
|
|
<arg><option>--children-max=</option></arg>
|
|
|
|
<arg><option>--exec-delay=</option></arg>
|
2014-11-03 02:36:05 +07:00
|
|
|
<arg><option>--event-timeout=</option></arg>
|
2013-03-27 19:01:59 +07:00
|
|
|
<arg><option>--resolve-names=early|late|never</option></arg>
|
|
|
|
<arg><option>--version</option></arg>
|
|
|
|
<arg><option>--help</option></arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1><title>Description</title>
|
|
|
|
<para><command>udevd</command> listens to kernel uevents.
|
2014-08-04 22:54:19 +07:00
|
|
|
For every event, udevd executes matching instructions
|
|
|
|
specified in udev rules. See <citerefentry>
|
|
|
|
<refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
|
|
|
|
</citerefentry>.</para>
|
|
|
|
|
2014-11-03 02:36:05 +07:00
|
|
|
<para>The behavior of the daemon can be configured using
|
|
|
|
<citerefentry><refentrytitle>udev.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
|
|
|
its command-line options, environment variables, and on the kernel
|
|
|
|
command-line, or changed dynamically with <command>udevadm
|
|
|
|
control</command>.
|
2014-08-04 22:54:19 +07:00
|
|
|
</para>
|
2013-03-27 19:01:59 +07:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1><title>Options</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2018-03-09 03:11:47 +07:00
|
|
|
<term><option>-d</option>, <option>--daemon</option></term>
|
2013-03-27 19:01:59 +07:00
|
|
|
<listitem>
|
|
|
|
<para>Detach and run in the background.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-11-03 02:36:05 +07:00
|
|
|
|
2013-03-27 19:01:59 +07:00
|
|
|
<varlistentry>
|
2018-03-09 03:11:47 +07:00
|
|
|
<term><option>-D</option>, <option>--debug</option></term>
|
2013-03-27 19:01:59 +07:00
|
|
|
<listitem>
|
2014-11-03 02:36:05 +07:00
|
|
|
<para>Print debug messages to standard error.</para>
|
2013-03-27 19:01:59 +07:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-11-03 02:36:05 +07:00
|
|
|
|
2013-03-27 19:01:59 +07:00
|
|
|
<varlistentry>
|
2018-03-09 03:11:47 +07:00
|
|
|
<term><option>-c</option>, <option>--children-max=</option></term>
|
2013-03-27 19:01:59 +07:00
|
|
|
<listitem>
|
|
|
|
<para>Limit the number of events executed in parallel.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-11-03 02:36:05 +07:00
|
|
|
|
2013-03-27 19:01:59 +07:00
|
|
|
<varlistentry>
|
2018-03-09 03:11:47 +07:00
|
|
|
<term><option>-e</option>, <option>--exec-delay=</option></term>
|
2013-03-27 19:01:59 +07:00
|
|
|
<listitem>
|
2014-11-03 02:36:05 +07:00
|
|
|
<para>Delay the execution of <varname>RUN</varname>
|
|
|
|
instructions by the given number of seconds. This option
|
|
|
|
might be useful when debugging system crashes during
|
|
|
|
coldplug caused by loading non-working kernel
|
|
|
|
modules.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2013-03-27 19:01:59 +07:00
|
|
|
|
2014-11-03 02:36:05 +07:00
|
|
|
<varlistentry>
|
2018-03-09 03:11:47 +07:00
|
|
|
<term><option>-t</option>, <option>--event-timeout=</option></term>
|
2014-11-03 02:36:05 +07:00
|
|
|
<listitem>
|
|
|
|
<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>
|
2013-03-27 19:01:59 +07:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-11-03 02:36:05 +07:00
|
|
|
|
2013-03-27 19:01:59 +07:00
|
|
|
<varlistentry>
|
2018-03-09 03:11:47 +07:00
|
|
|
<term><option>-N</option>, <option>--resolve-names=</option></term>
|
2013-03-27 19:01:59 +07:00
|
|
|
<listitem>
|
|
|
|
<para>Specify when udevd should resolve names of users and groups.
|
2014-11-03 02:36:05 +07:00
|
|
|
When set to <option>early</option> (the default), names will be
|
2013-03-27 19:01:59 +07:00
|
|
|
resolved when the rules are parsed. When set to
|
2014-11-03 02:36:05 +07:00
|
|
|
<option>late</option>, names will be resolved for every event.
|
|
|
|
When set to <option>never</option>, names will never be resolved
|
2013-03-27 19:01:59 +07:00
|
|
|
and all devices will be owned by root.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-11-03 02:36:05 +07:00
|
|
|
|
2013-03-27 19:01:59 +07:00
|
|
|
<varlistentry>
|
2018-03-09 03:11:47 +07:00
|
|
|
<term><option>-h</option>, <option>--help</option></term>
|
2014-11-03 02:36:05 +07:00
|
|
|
|
2013-03-27 19:01:59 +07:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1><title>Kernel command line</title>
|
|
|
|
<variablelist class='kernel-commandline-options'>
|
|
|
|
<para>Parameters starting with "rd." will be read when
|
|
|
|
<command>udevd</command> is used in an initrd.</para>
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>udev.log-priority=</varname></term>
|
|
|
|
<term><varname>rd.udev.log-priority=</varname></term>
|
|
|
|
<listitem>
|
2014-11-03 02:27:23 +07:00
|
|
|
<para>Set the log level.</para>
|
2013-03-27 19:01:59 +07:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>udev.children-max=</varname></term>
|
|
|
|
<term><varname>rd.udev.children-max=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Limit the number of events executed in parallel.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>udev.exec-delay=</varname></term>
|
|
|
|
<term><varname>rd.udev.exec-delay=</varname></term>
|
|
|
|
<listitem>
|
2014-11-03 02:36:05 +07:00
|
|
|
<para>Delay the execution of <varname>RUN</varname> instructions by the given
|
2013-03-27 19:01:59 +07:00
|
|
|
number of seconds. This option might be useful when
|
|
|
|
debugging system crashes during coldplug caused by loading
|
|
|
|
non-working kernel modules.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2014-11-03 02:36:05 +07: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
|
|
|
|
terminated due to kernel drivers taking too long to initialize.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2013-03-27 19:01:59 +07:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>net.ifnames=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Network interfaces are renamed to give them predictable names
|
2014-11-03 02:36:05 +07:00
|
|
|
when possible. It is enabled by default; specifying 0 disables it.</para>
|
2013-03-27 19:01:59 +07:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2014-11-03 02:36:05 +07:00
|
|
|
<!-- when adding entries here, consider also adding them
|
|
|
|
in kernel-command-line.xml -->
|
2013-03-27 19:01:59 +07:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See Also</title>
|
2014-08-04 22:54:19 +07: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>
|
2013-03-27 19:01:59 +07:00
|
|
|
</refsect1>
|
|
|
|
</refentry>
|