Udevadm info 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:1f.2/host3/target3:0:0/3:0:0:0/block/sr0': KERNEL=="sr0" SUBSYSTEM=="block" DRIVER=="" ATTR{range}=="1" ATTR{ext_range}=="1" ATTR{removable}=="1" ATTR{ro}=="0" ATTR{size}=="2097151" ATTR{alignment_offset}=="0" ATTR{discard_alignment}=="0" ATTR{capability}=="119" ATTR{stat}==" 0 0 0 0 0 0 0 0 0 0 0" ATTR{inflight}==" 0 0" ATTR{events}=="media_change eject_request" ATTR{events_async}=="" ATTR{events_poll_msecs}=="-1" looking at parent device '/devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0': KERNELS=="3:0:0:0" SUBSYSTEMS=="scsi" DRIVERS=="sr" ATTRS{device_blocked}=="0" ATTRS{type}=="5" ATTRS{scsi_level}=="6" ATTRS{vendor}=="PLEXTOR " ATTRS{model}=="DVDR PX-820SA " ATTRS{rev}=="1.01" ATTRS{state}=="running" ATTRS{timeout}=="30" ATTRS{iocounterbits}=="32" ATTRS{iorequest_cnt}=="0x331c" ATTRS{iodone_cnt}=="0x3315" ATTRS{ioerr_cnt}=="0x1" ATTRS{evt_media_change}=="0" ATTRS{queue_depth}=="1" ATTRS{queue_type}=="none" looking at parent device '/devices/pci0000:00/0000:00:1f.2/host3/target3:0:0': KERNELS=="target3:0:0" SUBSYSTEMS=="scsi" DRIVERS=="" looking at parent device '/devices/pci0000:00/0000:00:1f.2/host3': KERNELS=="host3" SUBSYSTEMS=="scsi" DRIVERS=="" looking at parent device '/devices/pci0000:00/0000:00:1f.2': KERNELS=="0000:00:1f.2" SUBSYSTEMS=="pci" DRIVERS=="ata_piix" ATTRS{vendor}=="0x8086" ATTRS{device}=="0x24d1" ATTRS{subsystem_vendor}=="0x1734" ATTRS{subsystem_device}=="0x101c" ATTRS{class}=="0x01018f" ATTRS{irq}=="18" ATTRS{local_cpus}=="3" ATTRS{local_cpulist}=="0-1" ATTRS{dma_mask_bits}=="32" ATTRS{consistent_dma_mask_bits}=="32" ATTRS{enable}=="1" ATTRS{broken_parity_status}=="0" ATTRS{msi_bus}=="" looking at parent device '/devices/pci0000:00': KERNELS=="pci0000:00" SUBSYSTEMS=="" DRIVERS==""