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