글

설정

트랙백

댓글

Sometime, one needs to access all attribute on a device in order to create the udev rule for this device.

$ udevadm info --query=all -n /dev/EtherCAT0 --attribute-walk

Udevadm info starts with the device specified by the devpath and thenwalks up the chain of parent devices. It prints for every devicefound, all possible attributes in the udev rules key format.A rule to match, can be composed by the attributes of the deviceand the attributes from one single parent device.