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 /src/basic/label.c | |
parent | sd-device: add API for triggering synthetic uevents with UUID (diff) | |
download | systemd-730b9c1e1469dfd6d6850e9ea06da3cac469eba0.tar.xz systemd-730b9c1e1469dfd6d6850e9ea06da3cac469eba0.zip |
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 'src/basic/label.c')
0 files changed, 0 insertions, 0 deletions