diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-05-26 16:13:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-05-26 21:44:36 +0200 |
commit | 730b9c1e1469dfd6d6850e9ea06da3cac469eba0 (patch) | |
tree | 9c518023e82c1352cb51e367f744e61cb66b7a29 /man/udevadm.xml | |
parent | b485fd932ad37a945569857127b7e929e87e17b2 (diff) | |
download | systemd-730b9c1e1469dfd6d6850e9ea06da3cac469eba0.tar.gz |
udevadm: make use of the new uuid-enabled triggering for "udevadm trigger"
This adds two things:
- A new switch --uuid is added to "udevadm trigger". If specified a
random UUID is associated with the synthettic uevent and it is printed
to stdout. It may then be used manually to match up uevents as they
propagate through the system.
- The UUID logic is now implicitly enabled if "udevadm trigger --settle"
is used, in order to wait for precisely the uevents we actually
trigger. Fallback support is kept for pre-4.13 kernels (where the
requests for trigger uevents with uuids results in EINVAL).
Diffstat (limited to 'man/udevadm.xml')
-rw-r--r-- | man/udevadm.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/udevadm.xml b/man/udevadm.xml index 9f89783521..531a88d8a3 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -376,6 +376,15 @@ </listitem> </varlistentry> <varlistentry> + <term><option>--uuid</option></term> + <listitem> + <para>Trigger the synthetic device events, and associate a randomized UUID with each. These UUIDs + are printed to standard output, one line for each event. These UUIDs are included in the uevent + environment block (in the <literal>SYNTH_UUID=</literal> property) and may be used to track + delivery of the generated events.</para> + </listitem> + </varlistentry> + <varlistentry> <term><option>--wait-daemon[=<replaceable>SECONDS</replaceable>]</option></term> <listitem> <para>Before triggering uevents, wait for systemd-udevd daemon to be initialized. |