mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-03 17:41:49 +00:00
141 lines
27 KiB
HTML
141 lines
27 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>udevadm</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
|
|
a.headerlink {
|
|
color: #c60f0f;
|
|
font-size: 0.8em;
|
|
padding: 0 4px 0 4px;
|
|
text-decoration: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
a.headerlink:hover {
|
|
background-color: #c60f0f;
|
|
color: white;
|
|
}
|
|
|
|
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
|
|
visibility: visible;
|
|
}
|
|
</style><a href="index.html">Index </a>·
|
|
<a href="systemd.directives.html">Directives </a>·
|
|
<a href="../python-systemd/index.html">Python </a>·
|
|
<a href="../libudev/index.html">libudev </a>·
|
|
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 219</span><hr><div class="refentry"><a name="udevadm"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>udevadm — udev management tool</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">udevadm</code> [<code class="option">--debug</code>] [<code class="option">--version</code>] [<code class="option">--help</code>]</p></div><div class="cmdsynopsis"><p><code class="command">udevadm info <em class="replaceable"><code>options</code></em></code> </p></div><div class="cmdsynopsis"><p><code class="command">udevadm trigger [<span class="optional">options</span>]</code> </p></div><div class="cmdsynopsis"><p><code class="command">udevadm settle [<span class="optional">options</span>]</code> </p></div><div class="cmdsynopsis"><p><code class="command">udevadm control <em class="replaceable"><code>command</code></em></code> </p></div><div class="cmdsynopsis"><p><code class="command">udevadm monitor [<span class="optional">options</span>]</code> </p></div><div class="cmdsynopsis"><p><code class="command">udevadm test [<span class="optional">options</span>] <em class="replaceable"><code>devpath</code></em></code> </p></div><div class="cmdsynopsis"><p><code class="command">udevadm test-builtin [<span class="optional">options</span>] <em class="replaceable"><code>command</code></em> <em class="replaceable"><code>devpath</code></em></code> </p></div></div><div class="refsect1"><a name="idm139843308598960"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><span class="command"><strong>udevadm</strong></span> expects a command and command
|
|
specific options. It controls the runtime behavior of
|
|
<span class="command"><strong>systemd-udevd</strong></span>, requests kernel events, manages
|
|
the event queue, and provides simple debugging mechanisms.</p></div><div class="refsect1"><a name="idm139843308596432"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="--debug"><span class="term"><code class="option">--debug</code></span><a class="headerlink" title="Permalink to this term" href="#--debug">¶</a></dt><dd><p>Print debug messages to standard error.</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd><p>Print version number.</p></dd><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div><div class="refsect2"><a name="idm139843308589840"></a><h3 id="udevadm info
|
|
[options]
|
|
[devpath|file]
|
|
">udevadm info
|
|
[<em class="replaceable"><code>options</code></em>]
|
|
[<em class="replaceable"><code>devpath</code></em>|<em class="replaceable"><code>file</code></em>]
|
|
<a class="headerlink" title="Permalink to this headline" href="#udevadm%20info%0A%20%20%20%20%20%20%5Boptions%5D%0A%20%20%20%20%20%20%20%5Bdevpath%7Cfile%5D%0A%20%20%20%20">¶</a></h3><p>Queries the udev database for device information
|
|
stored in the udev database. It can also query the properties
|
|
of a device from its sysfs representation to help creating udev
|
|
rules that match this device.</p><div class="variablelist"><dl class="variablelist"><dt id="-q"><span class="term"><code class="option">-q</code>, </span><span class="term"><code class="option">--query=<em class="replaceable"><code>TYPE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-q">¶</a></dt><dd><p>Query the database for the specified type of device
|
|
data. It needs the <code class="option">--path</code> or
|
|
<code class="option">--name</code> to identify the specified device.
|
|
Valid <em class="replaceable"><code>TYPE</code></em>s are:
|
|
<code class="constant">name</code>, <code class="constant">symlink</code>,
|
|
<code class="constant">path</code>, <code class="constant">property</code>,
|
|
<code class="constant">all</code>.</p></dd><dt id="-p"><span class="term"><code class="option">-p</code>, </span><span class="term"><code class="option">--path=<em class="replaceable"><code>DEVPATH</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-p">¶</a></dt><dd><p>The <code class="filename">/sys</code> path of the device to
|
|
query, e.g.
|
|
<code class="filename">[<span class="optional">/sys</span>]/class/block/sda</code>.
|
|
Note that this option usually is not very useful, since
|
|
<span class="command"><strong>udev</strong></span> can guess the type of the
|
|
argument, so <span class="command"><strong>udevadm
|
|
--devpath=/class/block/sda</strong></span> is equivalent to
|
|
<span class="command"><strong>udevadm /sys/class/block/sda</strong></span>.</p></dd><dt id="-n"><span class="term"><code class="option">-n</code>, </span><span class="term"><code class="option">--name=<em class="replaceable"><code>FILE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-n">¶</a></dt><dd><p>The name of the device node or a symlink to query,
|
|
e.g. <code class="filename">[<span class="optional">/dev</span>]/sda</code>.
|
|
Note that this option usually is not very useful, since
|
|
<span class="command"><strong>udev</strong></span> can guess the type of the
|
|
argument, so <span class="command"><strong>udevadm --name=sda</strong></span> is
|
|
equivalent to <span class="command"><strong>udevadm /dev/sda</strong></span>.</p></dd><dt id="-r"><span class="term"><code class="option">-r</code>, </span><span class="term"><code class="option">--root</code></span><a class="headerlink" title="Permalink to this term" href="#-r">¶</a></dt><dd><p>Print absolute paths in <span class="command"><strong>name</strong></span> or <span class="command"><strong>symlink</strong></span>
|
|
query.</p></dd><dt id="-a"><span class="term"><code class="option">-a</code>, </span><span class="term"><code class="option">--attribute-walk</code></span><a class="headerlink" title="Permalink to this term" href="#-a">¶</a></dt><dd><p>Print all sysfs properties of the specified device that can be used
|
|
in udev rules to match the specified device. It prints all devices
|
|
along the chain, up to the root of sysfs that can be used in udev rules.</p></dd><dt id="-x"><span class="term"><code class="option">-x</code>, </span><span class="term"><code class="option">--export</code></span><a class="headerlink" title="Permalink to this term" href="#-x">¶</a></dt><dd><p>Print output as key/value pairs. Values are enclosed in single quotes.</p></dd><dt id="-P"><span class="term"><code class="option">-P</code>, </span><span class="term"><code class="option">--export-prefix=<em class="replaceable"><code>NAME</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-P">¶</a></dt><dd><p>Add a prefix to the key name of exported values.</p></dd><dt id="-d"><span class="term"><code class="option">-d</code>, </span><span class="term"><code class="option">--device-id-of-file=<em class="replaceable"><code>FILE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-d">¶</a></dt><dd><p>Print major/minor numbers of the underlying device, where the file
|
|
lives on.</p></dd><dt id="-e"><span class="term"><code class="option">-e</code>, </span><span class="term"><code class="option">--export-db</code></span><a class="headerlink" title="Permalink to this term" href="#-e">¶</a></dt><dd><p>Export the content of the udev database.</p></dd><dt id="-c"><span class="term"><code class="option">-c</code>, </span><span class="term"><code class="option">--cleanup-db</code></span><a class="headerlink" title="Permalink to this term" href="#-c">¶</a></dt><dd><p>Cleanup the udev database.</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd><p>Print version.</p></dd><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div><p>In addition an optional positional argument can be used
|
|
to specify a device name or a sys path. It must start with
|
|
<code class="filename">/dev</code> or <code class="filename">/sys</code>
|
|
respectively.</p></div><div class="refsect2"><a name="idm139843303568192"></a><h3 id="udevadm trigger
|
|
[options]
|
|
[devpath|file...]">udevadm trigger
|
|
[<em class="replaceable"><code>options</code></em>]
|
|
[<em class="replaceable"><code>devpath</code></em>|<em class="replaceable"><code>file</code></em>...]<a class="headerlink" title="Permalink to this headline" href="#udevadm%20trigger%0A%20%20%20%20%20%20%5Boptions%5D%0A%20%20%20%20%20%20%20%5Bdevpath%7Cfile...%5D">¶</a></h3><p>Request device events from the kernel. Primarily used to replay events at system coldplug time.</p><div class="variablelist"><dl class="variablelist"><dt id="-v"><span class="term"><code class="option">-v</code>, </span><span class="term"><code class="option">--verbose</code></span><a class="headerlink" title="Permalink to this term" href="#-v">¶</a></dt><dd><p>Print the list of devices which will be triggered.</p></dd><dt id="-n"><span class="term"><code class="option">-n</code>, </span><span class="term"><code class="option">--dry-run</code></span><a class="headerlink" title="Permalink to this term" href="#-n">¶</a></dt><dd><p>Do not actually trigger the event.</p></dd><dt id="-t"><span class="term"><code class="option">-t</code>, </span><span class="term"><code class="option">--type=<em class="replaceable"><code>TYPE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-t">¶</a></dt><dd><p>Trigger a specific type of devices. Valid types are:
|
|
<span class="command"><strong>devices</strong></span>, <span class="command"><strong>subsystems</strong></span>.
|
|
The default value is <span class="command"><strong>devices</strong></span>.</p></dd><dt id="-c"><span class="term"><code class="option">-c</code>, </span><span class="term"><code class="option">--action=<em class="replaceable"><code>ACTION</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-c">¶</a></dt><dd><p>Type of event to be triggered. The default value is
|
|
<span class="command"><strong>change</strong></span>.</p></dd><dt id="-s"><span class="term"><code class="option">-s</code>, </span><span class="term"><code class="option">--subsystem-match=<em class="replaceable"><code>SUBSYSTEM</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-s">¶</a></dt><dd><p>Trigger events for devices which belong to a
|
|
matching subsystem. This option can be specified multiple
|
|
times and supports shell style pattern matching.</p></dd><dt id="-S"><span class="term"><code class="option">-S</code>, </span><span class="term"><code class="option">--subsystem-nomatch=<em class="replaceable"><code>SUBSYSTEM</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-S">¶</a></dt><dd><p>Do not trigger events for devices which belong to a matching subsystem. This option
|
|
can be specified multiple times and supports shell style pattern matching.</p></dd><dt id="-a"><span class="term"><code class="option">-a</code>, </span><span class="term"><code class="option">--attr-match=<em class="replaceable"><code>ATTRIBUTE</code></em>=<em class="replaceable"><code>VALUE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-a">¶</a></dt><dd><p>Trigger events for devices with a matching sysfs
|
|
attribute. If a value is specified along with the
|
|
attribute name, the content of the attribute is matched
|
|
against the given value using shell style pattern
|
|
matching. If no value is specified, the existence of the
|
|
sysfs attribute is checked. This option can be specified
|
|
multiple times.</p></dd><dt id="-A"><span class="term"><code class="option">-A</code>, </span><span class="term"><code class="option">--attr-nomatch=<em class="replaceable"><code>ATTRIBUTE</code></em>=<em class="replaceable"><code>VALUE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-A">¶</a></dt><dd><p>Do not trigger events for devices with a matching
|
|
sysfs attribute. If a value is specified along with the
|
|
attribute name, the content of the attribute is matched
|
|
against the given value using shell style pattern
|
|
matching. If no value is specified, the existence of the
|
|
sysfs attribute is checked. This option can be specified
|
|
multiple times.</p></dd><dt id="-p"><span class="term"><code class="option">-p</code>, </span><span class="term"><code class="option">--property-match=<em class="replaceable"><code>PROPERTY</code></em>=<em class="replaceable"><code>VALUE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-p">¶</a></dt><dd><p>Trigger events for devices with a matching property
|
|
value. This option can be specified multiple times and
|
|
supports shell style pattern matching.</p></dd><dt id="-g"><span class="term"><code class="option">-g</code>, </span><span class="term"><code class="option">--tag-match=<em class="replaceable"><code>PROPERTY</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-g">¶</a></dt><dd><p>Trigger events for devices with a matching tag. This
|
|
option can be specified multiple times.</p></dd><dt id="-y"><span class="term"><code class="option">-y</code>, </span><span class="term"><code class="option">--sysname-match=<em class="replaceable"><code>PATH</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-y">¶</a></dt><dd><p>Trigger events for devices with a matching sys
|
|
device path. This option can be specified multiple times
|
|
and supports shell style pattern matching.</p></dd><dt id="--name-match=NAME"><span class="term"><code class="option">--name-match=<em class="replaceable"><code>NAME</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#--name-match=NAME">¶</a></dt><dd><p>Trigger events for devices with a matching
|
|
device path. This options can be specified multiple
|
|
times.</p></dd><dt id="-b"><span class="term"><code class="option">-b</code>, </span><span class="term"><code class="option">--parent-match=<em class="replaceable"><code>SYSPATH</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-b">¶</a></dt><dd><p>Trigger events for all children of a given
|
|
device.</p></dd><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div><p>In addition optional positional arguments can be used
|
|
to specify device names or sys paths. They must start with
|
|
<code class="filename">/dev</code> or <code class="filename">/sys</code>
|
|
respectively.</p></div><div class="refsect2"><a name="idm139843303515824"></a><h3 id="udevadm settle
|
|
[options]
|
|
">udevadm settle
|
|
[<em class="replaceable"><code>options</code></em>]
|
|
<a class="headerlink" title="Permalink to this headline" href="#udevadm%20settle%0A%20%20%20%20%20%20%5Boptions%5D%0A%20%20%20%20">¶</a></h3><p>Watches the udev event queue, and exits if all current events are handled.</p><div class="variablelist"><dl class="variablelist"><dt id="-t"><span class="term"><code class="option">-t</code>, </span><span class="term"><code class="option">--timeout=<em class="replaceable"><code>SECONDS</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-t">¶</a></dt><dd><p>Maximum number of seconds to wait for the event
|
|
queue to become empty. The default value is 120 seconds. A
|
|
value of 0 will check if the queue is empty and always
|
|
return immediately.</p></dd><dt id="-E"><span class="term"><code class="option">-E</code>, </span><span class="term"><code class="option">--exit-if-exists=<em class="replaceable"><code>FILE</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-E">¶</a></dt><dd><p>Stop waiting if file exists.</p></dd><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2"><a name="idm139843303506144"></a><h3 id="udevadm control command">udevadm control <em class="replaceable"><code>command</code></em><a class="headerlink" title="Permalink to this headline" href="#udevadm%20control%20command">¶</a></h3><p>Modify the internal state of the running udev daemon.</p><div class="variablelist"><dl class="variablelist"><dt id="-x"><span class="term"><code class="option">-x</code>, </span><span class="term"><code class="option">--exit</code></span><a class="headerlink" title="Permalink to this term" href="#-x">¶</a></dt><dd><p>Signal and wait for systemd-udevd to exit.</p></dd><dt id="-l"><span class="term"><code class="option">-l</code>, </span><span class="term"><code class="option">--log-priority=<em class="replaceable"><code>value</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-l">¶</a></dt><dd><p>Set the internal log level of
|
|
<code class="filename">systemd-udevd</code>. Valid values are the
|
|
numerical syslog priorities or their textual
|
|
representations: <code class="option">emerg</code>,
|
|
<code class="option">alert</code>, <code class="option">crit</code>,
|
|
<code class="option">err</code>, <code class="option">warning</code>,
|
|
<code class="option">notice</code>, <code class="option">info</code>, and
|
|
<code class="option">debug</code>.</p></dd><dt id="-s"><span class="term"><code class="option">-s</code>, </span><span class="term"><code class="option">--stop-exec-queue</code></span><a class="headerlink" title="Permalink to this term" href="#-s">¶</a></dt><dd><p>Signal systemd-udevd to stop executing new events. Incoming events
|
|
will be queued.</p></dd><dt id="-S"><span class="term"><code class="option">-S</code>, </span><span class="term"><code class="option">--start-exec-queue</code></span><a class="headerlink" title="Permalink to this term" href="#-S">¶</a></dt><dd><p>Signal systemd-udevd to enable the execution of events.</p></dd><dt id="-R"><span class="term"><code class="option">-R</code>, </span><span class="term"><code class="option">--reload</code></span><a class="headerlink" title="Permalink to this term" href="#-R">¶</a></dt><dd><p>Signal systemd-udevd to reload the rules files and other databases like the kernel
|
|
module index. Reloading rules and databases does not apply any changes to already
|
|
existing devices; the new configuration will only be applied to new events.</p></dd><dt id="-p"><span class="term"><code class="option">-p</code>, </span><span class="term"><code class="option">--property=<em class="replaceable"><code>KEY</code></em>=<em class="replaceable"><code>value</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-p">¶</a></dt><dd><p>Set a global property for all events.</p></dd><dt id="-m"><span class="term"><code class="option">-m</code>, </span><span class="term"><code class="option">--children-max=</code><em class="replaceable"><code>value</code></em></span><a class="headerlink" title="Permalink to this term" href="#-m">¶</a></dt><dd><p>Set the maximum number of events, systemd-udevd will handle at the
|
|
same time.</p></dd><dt id="--timeout=seconds"><span class="term"><code class="option">--timeout=</code><em class="replaceable"><code>seconds</code></em></span><a class="headerlink" title="Permalink to this term" href="#--timeout=seconds">¶</a></dt><dd><p>The maximum number of seconds to wait for a reply from systemd-udevd.</p></dd><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2"><a name="idm139843303479664"></a><h3 id="udevadm monitor
|
|
[options]
|
|
">udevadm monitor
|
|
[<em class="replaceable"><code>options</code></em>]
|
|
<a class="headerlink" title="Permalink to this headline" href="#udevadm%20monitor%0A%20%20%20%20%20%20%5Boptions%5D%0A%20%20%20%20">¶</a></h3><p>Listens to the kernel uevents and events sent out by a udev rule
|
|
and prints the devpath of the event to the console. It can be used to analyze the
|
|
event timing, by comparing the timestamps of the kernel uevent and the udev event.
|
|
</p><div class="variablelist"><dl class="variablelist"><dt id="-k"><span class="term"><code class="option">-k</code>, </span><span class="term"><code class="option">--kernel</code></span><a class="headerlink" title="Permalink to this term" href="#-k">¶</a></dt><dd><p>Print the kernel uevents.</p></dd><dt id="-u"><span class="term"><code class="option">-u</code>, </span><span class="term"><code class="option">--udev</code></span><a class="headerlink" title="Permalink to this term" href="#-u">¶</a></dt><dd><p>Print the udev event after the rule processing.</p></dd><dt id="-p"><span class="term"><code class="option">-p</code>, </span><span class="term"><code class="option">--property</code></span><a class="headerlink" title="Permalink to this term" href="#-p">¶</a></dt><dd><p>Also print the properties of the event.</p></dd><dt id="-s"><span class="term"><code class="option">-s</code>, </span><span class="term"><code class="option">--subsystem-match=<em class="replaceable"><code>string[/string]</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-s">¶</a></dt><dd><p>Filter events by subsystem[/devtype]. Only udev events with a matching subsystem value will pass.</p></dd><dt id="-t"><span class="term"><code class="option">-t</code>, </span><span class="term"><code class="option">--tag-match=<em class="replaceable"><code>string</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-t">¶</a></dt><dd><p>Filter events by property. Only udev events with a given tag attached will pass.</p></dd><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2"><a name="idm139843303463312"></a><h3 id="udevadm test
|
|
[options]
|
|
[devpath]
|
|
">udevadm test
|
|
[<em class="replaceable"><code>options</code></em>]
|
|
[<em class="replaceable"><code>devpath</code></em>]
|
|
<a class="headerlink" title="Permalink to this headline" href="#udevadm%20test%0A%20%20%20%20%20%20%5Boptions%5D%0A%20%20%20%20%20%20%20%5Bdevpath%5D%0A%20%20%20%20">¶</a></h3><p>Simulate a udev event run for the given device, and print debug output.</p><div class="variablelist"><dl class="variablelist"><dt id="-a"><span class="term"><code class="option">-a</code>, </span><span class="term"><code class="option">--action=<em class="replaceable"><code>string</code></em></code></span><a class="headerlink" title="Permalink to this term" href="#-a">¶</a></dt><dd><p>The action string.</p></dd><dt id="-N"><span class="term"><code class="option">-N</code>, </span><span class="term"><code class="option">--resolve-names=<code class="constant">early</code>|<code class="constant">late</code>|<code class="constant">never</code></code></span><a class="headerlink" title="Permalink to this term" href="#-N">¶</a></dt><dd><p>Specify when udevadm should resolve names of users
|
|
and groups. When set to <code class="constant">early</code> (the
|
|
default), names will be resolved when the rules are
|
|
parsed. When set to <code class="constant">late</code>, names will
|
|
be resolved for every event. When set to
|
|
<code class="constant">never</code>, names will never be resolved
|
|
and all devices will be owned by root.</p></dd><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2"><a name="idm139843303450640"></a><h3 id="udevadm test-builtin
|
|
[options]
|
|
[command]
|
|
[devpath]
|
|
">udevadm test-builtin
|
|
[<em class="replaceable"><code>options</code></em>]
|
|
[<em class="replaceable"><code>command</code></em>]
|
|
[<em class="replaceable"><code>devpath</code></em>]
|
|
<a class="headerlink" title="Permalink to this headline" href="#udevadm%20test-builtin%0A%20%20%20%20%20%20%5Boptions%5D%0A%20%20%20%20%20%20%20%5Bcommand%5D%0A%20%20%20%20%20%20%20%5Bdevpath%5D%0A%20%20%20%20">¶</a></h3><p>Run a built-in command <em class="replaceable"><code>COMMAND</code></em>
|
|
for device <em class="replaceable"><code>DEVPATH</code></em>, and print debug
|
|
output.</p><div class="variablelist"><dl class="variablelist"><dt id="-h"><span class="term"><code class="option">-h</code>, </span><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#-h">¶</a></dt><dd><p>Print help text.</p></dd></dl></div></div></div><div class="refsect1"><a name="idm139843303443184"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p><a href="udev.html"><span class="citerefentry"><span class="refentrytitle">udev</span>(7)</span></a>,
|
|
<a href="systemd-udevd.service.html"><span class="citerefentry"><span class="refentrytitle">systemd-udevd.service</span>(8)</span></a></p></div></div></body></html>
|