]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/udevadm.xml
verify: use manager_load_startable_unit_or_warn() to load units for verification
[thirdparty/systemd.git] / man / udevadm.xml
CommitLineData
3802a3d3 1<?xml version='1.0'?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*-->
63749b1a 2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
12b42c76 3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
225cb03b 4
f48f7543
ZJS
5<!--
6 SPDX-License-Identifier: LGPL-2.1+
7
8 This file is part of systemd.
9
10 Copyright 2010-2013 Kay Sievers
11
12 systemd is free software; you can redistribute it and/or modify it
13 under the terms of the GNU Lesser General Public License as published by
14 the Free Software Foundation; either version 2.1 of the License, or
15 (at your option) any later version.
16
17 systemd is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Lesser General Public License for more details.
21
22 You should have received a copy of the GNU Lesser General Public License
23 along with systemd; If not, see <http://www.gnu.org/licenses/>.
24-->
25
c94c581c
YW
26<refentry id="udevadm"
27 xmlns:xi="http://www.w3.org/2001/XInclude">
28
63749b1a 29 <refentryinfo>
225cb03b 30 <title>udevadm</title>
d3a2386d
KS
31 <productname>systemd</productname>
32 <authorgroup>
33 <author>
34 <contrib>Developer</contrib>
35 <firstname>Kay</firstname>
36 <surname>Sievers</surname>
37 <email>kay@vrfy.org</email>
38 </author>
39 </authorgroup>
63749b1a 40 </refentryinfo>
225cb03b 41
63749b1a
KS
42 <refmeta>
43 <refentrytitle>udevadm</refentrytitle>
44 <manvolnum>8</manvolnum>
63749b1a 45 </refmeta>
225cb03b 46
63749b1a
KS
47 <refnamediv>
48 <refname>udevadm</refname><refpurpose>udev management tool</refpurpose>
49 </refnamediv>
225cb03b 50
63749b1a
KS
51 <refsynopsisdiv>
52 <cmdsynopsis>
53 <command>udevadm</command>
54 <arg><option>--debug</option></arg>
55 <arg><option>--version</option></arg>
56 <arg><option>--help</option></arg>
57 </cmdsynopsis>
58 <cmdsynopsis>
c94c581c 59 <command>udevadm info <optional>options</optional> <optional>devpath</optional></command>
63749b1a
KS
60 </cmdsynopsis>
61 <cmdsynopsis>
c94c581c 62 <command>udevadm trigger <optional>options</optional> <optional>devpath</optional></command>
63749b1a
KS
63 </cmdsynopsis>
64 <cmdsynopsis>
65 <command>udevadm settle <optional>options</optional></command>
66 </cmdsynopsis>
67 <cmdsynopsis>
c94c581c 68 <command>udevadm control <replaceable>option</replaceable></command>
63749b1a
KS
69 </cmdsynopsis>
70 <cmdsynopsis>
71 <command>udevadm monitor <optional>options</optional></command>
72 </cmdsynopsis>
73 <cmdsynopsis>
74 <command>udevadm test <optional>options</optional> <replaceable>devpath</replaceable></command>
75 </cmdsynopsis>
d7867b31
KS
76 <cmdsynopsis>
77 <command>udevadm test-builtin <optional>options</optional> <replaceable>command</replaceable> <replaceable>devpath</replaceable></command>
78 </cmdsynopsis>
63749b1a 79 </refsynopsisdiv>
225cb03b 80
63749b1a 81 <refsect1><title>Description</title>
124b48b0
ZJS
82 <para><command>udevadm</command> expects a command and command
83 specific options. It controls the runtime behavior of
84 <command>systemd-udevd</command>, requests kernel events, manages
85 the event queue, and provides simple debugging mechanisms.</para>
63749b1a 86 </refsect1>
225cb03b 87
80877656 88 <refsect1><title>Options</title>
63749b1a
KS
89 <variablelist>
90 <varlistentry>
c94c581c 91 <term><option>-d</option></term>
63749b1a
KS
92 <term><option>--debug</option></term>
93 <listitem>
6db27428 94 <para>Print debug messages to standard error.</para>
63749b1a
KS
95 </listitem>
96 </varlistentry>
c94c581c 97
c94c581c 98 <xi:include href="standard-options.xml" xpointer="help" />
63749b1a 99 </variablelist>
225cb03b 100
80877656
ZJS
101 <refsect2><title>udevadm info
102 <arg choice="opt"><replaceable>options</replaceable></arg>
103 <arg choice="opt"><replaceable>devpath</replaceable>|<replaceable>file</replaceable></arg>
104 </title>
105
63749b1a
KS
106 <para>Queries the udev database for device information
107 stored in the udev database. It can also query the properties
108 of a device from its sysfs representation to help creating udev
109 rules that match this device.</para>
110 <variablelist>
111 <varlistentry>
7643ac9a
ZJS
112 <term><option>-q</option></term>
113 <term><option>--query=<replaceable>TYPE</replaceable></option></term>
63749b1a 114 <listitem>
72f4d966 115 <para>Query the database for the specified type of device
124b48b0 116 data. It needs the <option>--path</option> or
7643ac9a
ZJS
117 <option>--name</option> to identify the specified device.
118 Valid <replaceable>TYPE</replaceable>s are:
119 <constant>name</constant>, <constant>symlink</constant>,
120 <constant>path</constant>, <constant>property</constant>,
124b48b0 121 <constant>all</constant>.</para>
63749b1a
KS
122 </listitem>
123 </varlistentry>
124 <varlistentry>
7643ac9a
ZJS
125 <term><option>-p</option></term>
126 <term><option>--path=<replaceable>DEVPATH</replaceable></option></term>
63749b1a 127 <listitem>
124b48b0
ZJS
128 <para>The <filename>/sys</filename> path of the device to
129 query, e.g.
130 <filename><optional>/sys</optional>/class/block/sda</filename>.
72f4d966 131 Note that this option usually is not very useful, since
124b48b0
ZJS
132 <command>udev</command> can guess the type of the
133 argument, so <command>udevadm
134 --devpath=/class/block/sda</command> is equivalent to
135 <command>udevadm /sys/class/block/sda</command>.</para>
63749b1a
KS
136 </listitem>
137 </varlistentry>
138 <varlistentry>
7643ac9a
ZJS
139 <term><option>-n</option></term>
140 <term><option>--name=<replaceable>FILE</replaceable></option></term>
63749b1a 141 <listitem>
124b48b0
ZJS
142 <para>The name of the device node or a symlink to query,
143 e.g. <filename><optional>/dev</optional>/sda</filename>.
72f4d966 144 Note that this option usually is not very useful, since
124b48b0
ZJS
145 <command>udev</command> can guess the type of the
146 argument, so <command>udevadm --name=sda</command> is
147 equivalent to <command>udevadm /dev/sda</command>.</para>
63749b1a
KS
148 </listitem>
149 </varlistentry>
150 <varlistentry>
7643ac9a 151 <term><option>-r</option></term>
63749b1a
KS
152 <term><option>--root</option></term>
153 <listitem>
4f5d327a
KS
154 <para>Print absolute paths in <command>name</command> or <command>symlink</command>
155 query.</para>
4ec9c3e7
KS
156 </listitem>
157 </varlistentry>
63749b1a 158 <varlistentry>
7643ac9a 159 <term><option>-a</option></term>
63749b1a
KS
160 <term><option>--attribute-walk</option></term>
161 <listitem>
162 <para>Print all sysfs properties of the specified device that can be used
163 in udev rules to match the specified device. It prints all devices
164 along the chain, up to the root of sysfs that can be used in udev rules.</para>
165 </listitem>
166 </varlistentry>
dc1791a9 167 <varlistentry>
7643ac9a 168 <term><option>-x</option></term>
dc1791a9
KS
169 <term><option>--export</option></term>
170 <listitem>
171 <para>Print output as key/value pairs. Values are enclosed in single quotes.</para>
172 </listitem>
173 </varlistentry>
174 <varlistentry>
7643ac9a
ZJS
175 <term><option>-P</option></term>
176 <term><option>--export-prefix=<replaceable>NAME</replaceable></option></term>
dc1791a9
KS
177 <listitem>
178 <para>Add a prefix to the key name of exported values.</para>
179 </listitem>
180 </varlistentry>
63749b1a 181 <varlistentry>
7643ac9a
ZJS
182 <term><option>-d</option></term>
183 <term><option>--device-id-of-file=<replaceable>FILE</replaceable></option></term>
63749b1a
KS
184 <listitem>
185 <para>Print major/minor numbers of the underlying device, where the file
186 lives on.</para>
187 </listitem>
188 </varlistentry>
189 <varlistentry>
7643ac9a 190 <term><option>-e</option></term>
63749b1a
KS
191 <term><option>--export-db</option></term>
192 <listitem>
193 <para>Export the content of the udev database.</para>
194 </listitem>
195 </varlistentry>
9ead6627 196 <varlistentry>
7643ac9a 197 <term><option>-c</option></term>
9ead6627
KS
198 <term><option>--cleanup-db</option></term>
199 <listitem>
200 <para>Cleanup the udev database.</para>
201 </listitem>
202 </varlistentry>
c94c581c 203
c94c581c 204 <xi:include href="standard-options.xml" xpointer="help" />
63749b1a 205 </variablelist>
80877656 206
b938cb90 207 <para>In addition, an optional positional argument can be used
80877656
ZJS
208 to specify a device name or a sys path. It must start with
209 <filename>/dev</filename> or <filename>/sys</filename>
210 respectively.</para>
63749b1a 211 </refsect2>
225cb03b 212
80877656
ZJS
213 <refsect2><title>udevadm trigger
214 <arg choice="opt"><replaceable>options</replaceable></arg>
215 <arg choice="opt" rep="repeat"><replaceable>devpath</replaceable>|<replaceable>file</replaceable></arg></title>
63749b1a
KS
216 <para>Request device events from the kernel. Primarily used to replay events at system coldplug time.</para>
217 <variablelist>
218 <varlistentry>
7643ac9a 219 <term><option>-v</option></term>
63749b1a
KS
220 <term><option>--verbose</option></term>
221 <listitem>
222 <para>Print the list of devices which will be triggered.</para>
223 </listitem>
224 </varlistentry>
225 <varlistentry>
7643ac9a 226 <term><option>-n</option></term>
63749b1a
KS
227 <term><option>--dry-run</option></term>
228 <listitem>
229 <para>Do not actually trigger the event.</para>
230 </listitem>
231 </varlistentry>
232 <varlistentry>
7643ac9a
ZJS
233 <term><option>-t</option></term>
234 <term><option>--type=<replaceable>TYPE</replaceable></option></term>
63749b1a
KS
235 <listitem>
236 <para>Trigger a specific type of devices. Valid types are:
864fde8a 237 <command>devices</command>, <command>subsystems</command>.
63749b1a
KS
238 The default value is <command>devices</command>.</para>
239 </listitem>
240 </varlistentry>
241 <varlistentry>
7643ac9a
ZJS
242 <term><option>-c</option></term>
243 <term><option>--action=<replaceable>ACTION</replaceable></option></term>
63749b1a 244 <listitem>
7643ac9a
ZJS
245 <para>Type of event to be triggered. The default value is
246 <command>change</command>.</para>
63749b1a
KS
247 </listitem>
248 </varlistentry>
249 <varlistentry>
7643ac9a
ZJS
250 <term><option>-s</option></term>
251 <term><option>--subsystem-match=<replaceable>SUBSYSTEM</replaceable></option></term>
63749b1a 252 <listitem>
7643ac9a
ZJS
253 <para>Trigger events for devices which belong to a
254 matching subsystem. This option can be specified multiple
255 times and supports shell style pattern matching.</para>
63749b1a
KS
256 </listitem>
257 </varlistentry>
258 <varlistentry>
7643ac9a
ZJS
259 <term><option>-S</option></term>
260 <term><option>--subsystem-nomatch=<replaceable>SUBSYSTEM</replaceable></option></term>
63749b1a
KS
261 <listitem>
262 <para>Do not trigger events for devices which belong to a matching subsystem. This option
263 can be specified multiple times and supports shell style pattern matching.</para>
264 </listitem>
265 </varlistentry>
266 <varlistentry>
7643ac9a
ZJS
267 <term><option>-a</option></term>
268 <term><option>--attr-match=<replaceable>ATTRIBUTE</replaceable>=<replaceable>VALUE</replaceable></option></term>
63749b1a 269 <listitem>
7643ac9a
ZJS
270 <para>Trigger events for devices with a matching sysfs
271 attribute. If a value is specified along with the
272 attribute name, the content of the attribute is matched
273 against the given value using shell style pattern
274 matching. If no value is specified, the existence of the
275 sysfs attribute is checked. This option can be specified
276 multiple times.</para>
63749b1a
KS
277 </listitem>
278 </varlistentry>
279 <varlistentry>
7643ac9a
ZJS
280 <term><option>-A</option></term>
281 <term><option>--attr-nomatch=<replaceable>ATTRIBUTE</replaceable>=<replaceable>VALUE</replaceable></option></term>
63749b1a 282 <listitem>
7643ac9a
ZJS
283 <para>Do not trigger events for devices with a matching
284 sysfs attribute. If a value is specified along with the
285 attribute name, the content of the attribute is matched
286 against the given value using shell style pattern
287 matching. If no value is specified, the existence of the
288 sysfs attribute is checked. This option can be specified
289 multiple times.</para>
63749b1a
KS
290 </listitem>
291 </varlistentry>
292 <varlistentry>
7643ac9a
ZJS
293 <term><option>-p</option></term>
294 <term><option>--property-match=<replaceable>PROPERTY</replaceable>=<replaceable>VALUE</replaceable></option></term>
63749b1a 295 <listitem>
7643ac9a
ZJS
296 <para>Trigger events for devices with a matching property
297 value. This option can be specified multiple times and
298 supports shell style pattern matching.</para>
63749b1a
KS
299 </listitem>
300 </varlistentry>
301 <varlistentry>
7643ac9a
ZJS
302 <term><option>-g</option></term>
303 <term><option>--tag-match=<replaceable>PROPERTY</replaceable></option></term>
63749b1a 304 <listitem>
7643ac9a
ZJS
305 <para>Trigger events for devices with a matching tag. This
306 option can be specified multiple times.</para>
63749b1a
KS
307 </listitem>
308 </varlistentry>
309 <varlistentry>
7643ac9a 310 <term><option>-y</option></term>
80877656 311 <term><option>--sysname-match=<replaceable>PATH</replaceable></option></term>
63749b1a 312 <listitem>
cd9363b1
RS
313 <para>Trigger events for devices for which the last component
314 (i.e. the filename) of the <filename>/sys</filename> path matches
315 the specified <replaceable>PATH</replaceable>. This option can be
316 specified multiple times and also supports shell style pattern
317 matching.</para>
63749b1a
KS
318 </listitem>
319 </varlistentry>
80877656
ZJS
320 <varlistentry>
321 <term><option>--name-match=<replaceable>NAME</replaceable></option></term>
322 <listitem>
323 <para>Trigger events for devices with a matching
a8eaaee7 324 device path. This option can be specified multiple
80877656
ZJS
325 times.</para>
326 </listitem>
327 </varlistentry>
b05211fa 328 <varlistentry>
7643ac9a
ZJS
329 <term><option>-b</option></term>
330 <term><option>--parent-match=<replaceable>SYSPATH</replaceable></option></term>
b05211fa 331 <listitem>
7643ac9a
ZJS
332 <para>Trigger events for all children of a given
333 device.</para>
334 </listitem>
792cc203
MH
335 </varlistentry>
336 <varlistentry>
337 <term><option>-w</option></term>
338 <term><option>--settle</option></term>
339 <listitem>
340 <para>Apart from triggering events, also waits for those events to
341 finish. Note that this is different from calling <command>udevadm
342 settle</command>. <command>udevadm settle</command> waits for all
343 events to finish. This option only waits for events triggered by
344 the same command to finish.</para>
345 </listitem>
7643ac9a 346 </varlistentry>
c94c581c 347
c94c581c 348 <xi:include href="standard-options.xml" xpointer="help" />
63749b1a 349 </variablelist>
80877656 350
b938cb90 351 <para>In addition, optional positional arguments can be used
80877656
ZJS
352 to specify device names or sys paths. They must start with
353 <filename>/dev</filename> or <filename>/sys</filename>
354 respectively.</para>
63749b1a 355 </refsect2>
225cb03b 356
80877656
ZJS
357 <refsect2><title>udevadm settle
358 <arg choice="opt"><replaceable>options</replaceable></arg>
359 </title>
63749b1a
KS
360 <para>Watches the udev event queue, and exits if all current events are handled.</para>
361 <variablelist>
362 <varlistentry>
7643ac9a
ZJS
363 <term><option>-t</option></term>
364 <term><option>--timeout=<replaceable>SECONDS</replaceable></option></term>
63749b1a 365 <listitem>
7643ac9a
ZJS
366 <para>Maximum number of seconds to wait for the event
367 queue to become empty. The default value is 120 seconds. A
368 value of 0 will check if the queue is empty and always
369 return immediately.</para>
63749b1a
KS
370 </listitem>
371 </varlistentry>
63749b1a 372 <varlistentry>
7643ac9a
ZJS
373 <term><option>-E</option></term>
374 <term><option>--exit-if-exists=<replaceable>FILE</replaceable></option></term>
63749b1a
KS
375 <listitem>
376 <para>Stop waiting if file exists.</para>
377 </listitem>
378 </varlistentry>
c94c581c 379
c94c581c 380 <xi:include href="standard-options.xml" xpointer="help" />
63749b1a
KS
381 </variablelist>
382 </refsect2>
225cb03b 383
c94c581c 384 <refsect2><title>udevadm control <replaceable>option</replaceable></title>
63749b1a
KS
385 <para>Modify the internal state of the running udev daemon.</para>
386 <variablelist>
ff2c503d 387 <varlistentry>
bd8420c5 388 <term><option>-e</option></term>
ff2c503d
KS
389 <term><option>--exit</option></term>
390 <listitem>
f13b388f 391 <para>Signal and wait for systemd-udevd to exit.</para>
ff2c503d
KS
392 </listitem>
393 </varlistentry>
63749b1a 394 <varlistentry>
7643ac9a 395 <term><option>-l</option></term>
63749b1a
KS
396 <term><option>--log-priority=<replaceable>value</replaceable></option></term>
397 <listitem>
e03234a1
ZJS
398 <para>Set the internal log level of
399 <filename>systemd-udevd</filename>. Valid values are the
400 numerical syslog priorities or their textual
401 representations: <option>emerg</option>,
402 <option>alert</option>, <option>crit</option>,
403 <option>err</option>, <option>warning</option>,
404 <option>notice</option>, <option>info</option>, and
405 <option>debug</option>.</para>
63749b1a
KS
406 </listitem>
407 </varlistentry>
408 <varlistentry>
7643ac9a 409 <term><option>-s</option></term>
63749b1a
KS
410 <term><option>--stop-exec-queue</option></term>
411 <listitem>
f13b388f 412 <para>Signal systemd-udevd to stop executing new events. Incoming events
63749b1a
KS
413 will be queued.</para>
414 </listitem>
415 </varlistentry>
416 <varlistentry>
7643ac9a 417 <term><option>-S</option></term>
63749b1a
KS
418 <term><option>--start-exec-queue</option></term>
419 <listitem>
f13b388f 420 <para>Signal systemd-udevd to enable the execution of events.</para>
63749b1a
KS
421 </listitem>
422 </varlistentry>
423 <varlistentry>
7643ac9a 424 <term><option>-R</option></term>
7c85d636 425 <term><option>--reload</option></term>
63749b1a 426 <listitem>
f13b388f 427 <para>Signal systemd-udevd to reload the rules files and other databases like the kernel
7c85d636
KS
428 module index. Reloading rules and databases does not apply any changes to already
429 existing devices; the new configuration will only be applied to new events.</para>
63749b1a
KS
430 </listitem>
431 </varlistentry>
432 <varlistentry>
7643ac9a 433 <term><option>-p</option></term>
63749b1a
KS
434 <term><option>--property=<replaceable>KEY</replaceable>=<replaceable>value</replaceable></option></term>
435 <listitem>
436 <para>Set a global property for all events.</para>
437 </listitem>
438 </varlistentry>
439 <varlistentry>
7643ac9a 440 <term><option>-m</option></term>
87d55ff6 441 <term><option>--children-max=</option><replaceable>value</replaceable></term>
63749b1a 442 <listitem>
f13b388f 443 <para>Set the maximum number of events, systemd-udevd will handle at the
63749b1a
KS
444 same time.</para>
445 </listitem>
446 </varlistentry>
ff2c503d 447 <varlistentry>
c94c581c 448 <term><option>-t</option></term>
ff2c503d
KS
449 <term><option>--timeout=</option><replaceable>seconds</replaceable></term>
450 <listitem>
7e505069 451 <para>The maximum number of seconds to wait for a reply from systemd-udevd.</para>
ff2c503d
KS
452 </listitem>
453 </varlistentry>
c94c581c 454
c94c581c 455 <xi:include href="standard-options.xml" xpointer="help" />
63749b1a
KS
456 </variablelist>
457 </refsect2>
225cb03b 458
80877656
ZJS
459 <refsect2><title>udevadm monitor
460 <arg choice="opt"><replaceable>options</replaceable></arg>
461 </title>
63749b1a
KS
462 <para>Listens to the kernel uevents and events sent out by a udev rule
463 and prints the devpath of the event to the console. It can be used to analyze the
464 event timing, by comparing the timestamps of the kernel uevent and the udev event.
465 </para>
466 <variablelist>
467 <varlistentry>
7643ac9a 468 <term><option>-k</option></term>
63749b1a
KS
469 <term><option>--kernel</option></term>
470 <listitem>
471 <para>Print the kernel uevents.</para>
472 </listitem>
473 </varlistentry>
474 <varlistentry>
7643ac9a 475 <term><option>-u</option></term>
63749b1a
KS
476 <term><option>--udev</option></term>
477 <listitem>
478 <para>Print the udev event after the rule processing.</para>
479 </listitem>
480 </varlistentry>
481 <varlistentry>
7643ac9a 482 <term><option>-p</option></term>
63749b1a
KS
483 <term><option>--property</option></term>
484 <listitem>
485 <para>Also print the properties of the event.</para>
486 </listitem>
487 </varlistentry>
488 <varlistentry>
7643ac9a 489 <term><option>-s</option></term>
63749b1a
KS
490 <term><option>--subsystem-match=<replaceable>string[/string]</replaceable></option></term>
491 <listitem>
aa9744df 492 <para>Filter kernel uevents and udev events by subsystem[/devtype]. Only events with a matching subsystem value will pass.</para>
63749b1a
KS
493 </listitem>
494 </varlistentry>
495 <varlistentry>
7643ac9a 496 <term><option>-t</option></term>
63749b1a
KS
497 <term><option>--tag-match=<replaceable>string</replaceable></option></term>
498 <listitem>
aa9744df 499 <para>Filter udev events by tag. Only udev events with a given tag attached will pass.</para>
63749b1a
KS
500 </listitem>
501 </varlistentry>
c94c581c 502
c94c581c 503 <xi:include href="standard-options.xml" xpointer="help" />
63749b1a
KS
504 </variablelist>
505 </refsect2>
225cb03b 506
80877656
ZJS
507 <refsect2><title>udevadm test
508 <arg choice="opt"><replaceable>options</replaceable></arg>
509 <arg><replaceable>devpath</replaceable></arg>
510 </title>
63749b1a
KS
511 <para>Simulate a udev event run for the given device, and print debug output.</para>
512 <variablelist>
513 <varlistentry>
7643ac9a 514 <term><option>-a</option></term>
63749b1a
KS
515 <term><option>--action=<replaceable>string</replaceable></option></term>
516 <listitem>
517 <para>The action string.</para>
518 </listitem>
519 </varlistentry>
520 <varlistentry>
7643ac9a 521 <term><option>-N</option></term>
124b48b0 522 <term><option>--resolve-names=<constant>early</constant>|<constant>late</constant>|<constant>never</constant></option></term>
63749b1a 523 <listitem>
124b48b0
ZJS
524 <para>Specify when udevadm should resolve names of users
525 and groups. When set to <constant>early</constant> (the
72f4d966
JE
526 default), names will be resolved when the rules are
527 parsed. When set to <constant>late</constant>, names will
124b48b0 528 be resolved for every event. When set to
72f4d966 529 <constant>never</constant>, names will never be resolved
124b48b0 530 and all devices will be owned by root.</para>
63749b1a
KS
531 </listitem>
532 </varlistentry>
c94c581c 533
c94c581c 534 <xi:include href="standard-options.xml" xpointer="help" />
63749b1a
KS
535 </variablelist>
536 </refsect2>
d7867b31 537
80877656
ZJS
538 <refsect2><title>udevadm test-builtin
539 <arg choice="opt"><replaceable>options</replaceable></arg>
540 <arg><replaceable>command</replaceable></arg>
541 <arg><replaceable>devpath</replaceable></arg>
542 </title>
7643ac9a
ZJS
543 <para>Run a built-in command <replaceable>COMMAND</replaceable>
544 for device <replaceable>DEVPATH</replaceable>, and print debug
545 output.</para>
d7867b31 546 <variablelist>
c94c581c 547 <xi:include href="standard-options.xml" xpointer="help" />
d7867b31
KS
548 </variablelist>
549 </refsect2>
63749b1a 550 </refsect1>
225cb03b 551
63749b1a
KS
552 <refsect1>
553 <title>See Also</title>
554 <para><citerefentry>
555 <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
7d06ef0a 556 </citerefentry>,
63749b1a 557 <citerefentry>
b79f817b 558 <refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum>
63749b1a
KS
559 </citerefentry></para>
560 </refsect1>
561</refentry>