]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm/info: also show driver subsystem and device ID 34123/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 26 Aug 2024 19:14:12 +0000 (04:14 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 27 Aug 2024 20:26:26 +0000 (05:26 +0900)
commit3fe0fd20c9f50948929ef623fd6d47b37e30fd11
tree217cc0fe8bd5de89f19f109f1bac076f3fd3e0ea
parentcd7c71154cd62d3f50c07ce387edd9c20aebd7bc
udevadm/info: also show driver subsystem and device ID

This adds two more fields in 'udevadm info':
- J for device ID, e.g. b128:1, c10:1, n1, and so on.
- B for driver subsystem, e.g. pci, i2c, and so on.

These, especially the device ID field may be useful to find udev
database file under /run/udev/data for a device.
man/udevadm.xml
src/udev/udevadm-info.c