udevadm – udev management tool
命令语法格式
udevadm [–debug] [–version] [–help]
udevadm info options
udevadm trigger [options]
udevadm settle [options]
udevadm control command
udevadm monitor [options]
udevadm test [options] devpath
udevadm test-builtin [options] command devpath
命令描述
udevadm expects a command and command specific options. It controls the runtime behavior of systemd-udevd, requests kernel events, manages the event queue, and provides simple debugging mechanisms.
命令支持的选项及含义
–debug
Print debug messages to standard error.
–version
Print version number.
-h, –help
Print help text.
udevadm info [options] [devpath|file]
Queries the udev database for device information stored in the udev database. It can also query the properties of a device from its sysfs representation to help creating udev rules that match this device.
-q, –query=TYPE
Query the database for the specified type of device data. It needs[……]