mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
4b3ca79ea9
Rebooting to set change the kernel command line to set some udev parameters is inconvenient. Let's allow setting more stuff in the config file. Also drop quotes from around "info" in udev.conf. We need to accept them for compatibility, but there is no reason to use them.
108 lines
3.4 KiB
XML
108 lines
3.4 KiB
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
|
<!--
|
|
SPDX-License-Identifier: LGPL-2.1+
|
|
-->
|
|
|
|
<refentry id="udev.conf"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<refentryinfo>
|
|
<title>udev.conf</title>
|
|
<productname>systemd</productname>
|
|
</refentryinfo>
|
|
|
|
<refmeta>
|
|
<refentrytitle>udev.conf</refentrytitle>
|
|
<manvolnum>5</manvolnum>
|
|
</refmeta>
|
|
|
|
<refnamediv>
|
|
<refname>udev.conf</refname>
|
|
<refpurpose>Configuration for device event managing daemon</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
<para><filename>/etc/udev/udev.conf</filename></para>
|
|
</refsynopsisdiv>
|
|
|
|
<refsect1>
|
|
<title>Description</title>
|
|
|
|
<para>
|
|
<citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
expects its main configuration file at
|
|
<filename>/etc/udev/udev.conf</filename>. It consists of a set
|
|
of variables allowing the user to override default udev
|
|
values. All empty lines or lines beginning with '#' are
|
|
ignored. The following variables can be set:
|
|
</para>
|
|
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><varname>udev_log=</varname></term>
|
|
|
|
<listitem>
|
|
<para>The log level. Valid values are the numerical
|
|
syslog priorities or their textual representations:
|
|
<option>err</option>, <option>info</option> and
|
|
<option>debug</option>.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term><varname>children_max=</varname></term>
|
|
|
|
<listitem>
|
|
<para>An integer. The maximum number of events executed in parallel.</para>
|
|
|
|
<para>This is the same as the <option>--children-max=</option> option.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term><varname>exec_delay=</varname></term>
|
|
|
|
<listitem>
|
|
<para>An integer. 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>
|
|
|
|
<para>This is the same as the <option>--exec-delay=</option> option.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term><varname>event_timeout=</varname></term>
|
|
|
|
<listitem>
|
|
<para>An integer. The number of seconds to wait for events to finish. After
|
|
this time, the event will be terminated. The default is 180 seconds.</para>
|
|
|
|
<para>This is the same as the <option>--event-timeout=</option> option.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
<para>
|
|
In addition, <filename>systemd-udevd</filename> can be configured
|
|
by command line options and the kernel command line (see
|
|
<citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>).
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>See Also</title>
|
|
<para>
|
|
<citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
|
|
<citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
|
|
<citerefentry><refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|