Udevinfo starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/devices/pci0000:00/0000:00:08.0/0000:01:0a.0/net/wlan0ap': KERNEL=="wlan0ap" SUBSYSTEM=="net" DRIVER=="" ATTR{weight}=="0" ATTR{tx_queue_len}=="0" ATTR{flags}=="0x1003" ATTR{mtu}=="2290" ATTR{operstate}=="unknown" ATTR{dormant}=="0" ATTR{carrier}=="1" ATTR{broadcast}=="ff:ff:ff:ff:ff:ff" ATTR{address}=="00:60:b3:65:6c:23" ATTR{link_mode}=="0" ATTR{type}=="801" ATTR{features}=="0x0" ATTR{ifindex}=="5" ATTR{iflink}=="5" ATTR{addr_len}=="6" looking at parent device '/devices/pci0000:00/0000:00:08.0/0000:01:0a.0/net': KERNELS=="net" SUBSYSTEMS=="" DRIVERS=="" looking at parent device '/devices/pci0000:00/0000:00:08.0/0000:01:0a.0': KERNELS=="0000:01:0a.0" SUBSYSTEMS=="pci" DRIVERS=="hostap_pci" ATTRS{msi_bus}=="" ATTRS{broken_parity_status}=="0" ATTRS{enable}=="1" ATTRS{modalias}=="pci:v00001260d00003873sv00001260sd00003873bc02sc80i00" ATTRS{local_cpus}=="1" ATTRS{irq}=="20" ATTRS{class}=="0x028000" ATTRS{subsystem_device}=="0x3873" ATTRS{subsystem_vendor}=="0x1260" ATTRS{device}=="0x3873" ATTRS{vendor}=="0x1260" looking at parent device '/devices/pci0000:00/0000:00:08.0': KERNELS=="0000:00:08.0" SUBSYSTEMS=="pci" DRIVERS=="" ATTRS{msi_bus}=="1" ATTRS{broken_parity_status}=="0" ATTRS{enable}=="1" ATTRS{modalias}=="pci:v000010DEd0000006Csv00000000sd00000000bc06sc04i00" ATTRS{local_cpus}=="1" ATTRS{irq}=="0" ATTRS{class}=="0x060400" ATTRS{subsystem_device}=="0x0000" ATTRS{subsystem_vendor}=="0x0000" ATTRS{device}=="0x006c" ATTRS{vendor}=="0x10de" looking at parent device '/devices/pci0000:00': KERNELS=="pci0000:00" SUBSYSTEMS=="" DRIVERS=="" ATTRS{uevent}==""