Sorry about the example I listed earlier, that command will only show the full path for the video0 device, to get all information, use
udevadm info -a -p $(udevadm info -q path -n/dev/video0)
To get information about /dev/sda1
udevadm info -a -p $(udevadm info -q path -n/dev/sda1)
Another not-too-complicated example:
udevadm info -a -p /sys/class/net/eth0
Sorry about the example I listed earlier, that command will only show the full path for the video0 device, to get all information, use
udevadm info -a -p $(udevadm info -q path -n/dev/video0)
To get information about /dev/sda1
udevadm info -a -p $(udevadm info -q path -n/dev/sda1)
Another not-too-complicated example:
udevadm info -a -p /sys/class/net/eth0
To see more examples, here's a good one: reactivated. net/writing_ udev_rules. html
http://
It also teaches you how to write udev rules.