summaryrefslogtreecommitdiff
path: root/udev/udevd.xml
blob: 02a6543235f99819bf42c0e91931a263adfdefd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?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>
    <productname>udev</productname>
  </refentryinfo>

  <refmeta>
    <refentrytitle>udevd</refentrytitle>
    <manvolnum>8</manvolnum>
    <refmiscinfo class="version"></refmiscinfo>
  </refmeta>

  <refnamediv>
    <refname>udevd</refname><refpurpose>event managing daemon</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>udevd</command>
      <arg><option>--daemon</option></arg>
      <arg><option>--debug</option></arg>
      <arg><option>--children-max=</option></arg>
      <arg><option>--exec-delay=</option></arg>
      <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>udevd listens to kernel uevents and executes the instructions specified
    in rules. On startup the content of the directory
    <filename>/lib/udev/devices</filename> is copied to <filename>/dev</filename>.
    If kernel modules specify static device nodes, these nodes are created
    even wihtout a corresponding kernel device, to allow on-demand loading of kernel
    modules. Matching permissions specified in udev rules are applied to these
    static device nodes. The behavior of the running daemon can be changed with
    <command>udevadm control</command>.</para>
  </refsect1>

  <refsect1><title>Options</title>
    <variablelist>
      <varlistentry>
        <term><option>--daemon</option></term>
        <listitem>
          <para>Detach and run in the background.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--debug</option></term>
        <listitem>
          <para>Print debug messages to stderr.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--children-max=</option></term>
        <listitem>
          <para>Limit the number of parallel executed events.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--exec-delay=</option></term>
        <listitem>
          <para>Number of seconds to delay the execution of RUN instructions.
          This might be useful when debugging system crashes during coldplug
          cause by loading non-working kernel modules.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--resolve-names=</option></term>
        <listitem>
          <para>Specify when udevd should resolve names of users and groups.
          When set to <option>early</option> (the default) names will be
          resolved when the rules are parsed.  When set to
          <option>late</option> names will be resolved for every event.
          When set to <option>never</option> names will never be resolved
          and all devices will be owned by root.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--version</option></term>
        <listitem>
          <para>Print version number.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--help</option></term>
        <listitem>
          <para>Print help text.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1><title>Environment</title>
    <variablelist>
      <varlistentry>
        <term><option>UDEV_LOG</option></term>
        <listitem>
          <para>Overrides the syslog priority specified in the config file.</para>
        </listitem>
      </varlistentry>
    </variablelist>
 </refsect1>

  <refsect1><title>Author</title>
    <para>Written by Kay Sievers <email>kay.sievers@vrfy.org</email>.</para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para><citerefentry>
        <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
      </citerefentry>, 
      <citerefentry>
        <refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum>
    </citerefentry></para>
  </refsect1>
</refentry>