From 730b9c1e1469dfd6d6850e9ea06da3cac469eba0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 26 May 2021 16:13:39 +0200 Subject: 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). --- man/udevadm.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man/udevadm.xml') diff --git a/man/udevadm.xml b/man/udevadm.xml index 9f89783521..531a88d8a3 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -375,6 +375,15 @@ the same command to finish. + + + + 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 SYNTH_UUID= property) and may be used to track + delivery of the generated events. + + -- cgit v1.2.1