]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm: allow a .device unit to be specified for query and trigger
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Dec 2018 10:46:21 +0000 (11:46 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Dec 2018 08:24:31 +0000 (09:24 +0100)
commitb6854081ffb26c32a8d1440346f9ee5b9d2f1e57
tree429643dac639f8d27534ed66e80b1302cc8a51ac
parentd539f791769988f62a780e6fce2d4a77177d64ed
udevadm: allow a .device unit to be specified for query and trigger

This is convenient when working with device units in systemd. Instead of
converting the systemd unit name to a path to feed to udevadm, udevadm
info|trigger can be called directly on the unit name.

The man page is reworked a bit to describe the modern syntax with positional
arguments first. It's just simpler to use than the positional options.
man/udevadm.xml
src/udev/udevadm-info.c
src/udev/udevadm-util.c