]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: Enable filtering the output of udevadm info --export-db 28373/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 12 Oct 2023 09:20:06 +0000 (11:20 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 16 Oct 2023 15:02:00 +0000 (17:02 +0200)
commita6b4b2fa010f6dc5e18f1a14d93204c6c1416278
tree5883736ae10ed223ec1c7a4a822aaafe56fce93a
parentd6e5f170eff71edcbc14674b3f4ae156f3919975
udev: Enable filtering the output of udevadm info --export-db

Let's support the same filtering options that we also support in
udevadm trigger in udevadm info to filter the devices produced by
--export-db.

One difference is that all properties specified by --propery-match=
have to be satisfied in udevadm info unlike udevadm trigger where just
one of them has to be satisfied.
man/udevadm.xml
src/udev/udevadm-info.c
test/units/testsuite-17.10.sh