-
- 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/ata1/host0/target0:0:0/0:0:0:0/block/sda':
- KERNEL=="sda"
- SUBSYSTEM=="block"
- DRIVER==""
- ATTR{ro}=="0"
- ATTR{size}=="488397168"
- ATTR{stat}==" 1619 0 29481 63068 14 2 84 447 0 6240 63515"
- ATTR{range}=="16"
- ATTR{discard_alignment}=="0"
- ATTR{events}==""
- ATTR{ext_range}=="256"
- ATTR{events_poll_msecs}=="-1"
- ATTR{alignment_offset}=="0"
- ATTR{badblocks}==""
- ATTR{inflight}==" 0 0"
- ATTR{removable}=="0"
- ATTR{capability}=="50"
- ATTR{events_async}==""
-
- looking at parent device '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0':
- KERNELS=="0:0:0:0"
- SUBSYSTEMS=="scsi"
- DRIVERS=="sd"
- ATTRS{rev}=="CA1G"
- ATTRS{type}=="0"
- ATTRS{wwid}=="naa.5000cca66bf1d4e4"
- ATTRS{scsi_level}=="6"
- ATTRS{model}=="Hitachi HTS54502"
- ATTRS{state}=="running"
- ATTRS{unload_heads}=="0"
- ATTRS{queue_type}=="none"
- ATTRS{iodone_cnt}=="0x6de"
- ATTRS{iorequest_cnt}=="0x6de"
- ATTRS{queue_ramp_up_period}=="120000"
- ATTRS{device_busy}=="0"
- ATTRS{evt_capacity_change_reported}=="0"
- ATTRS{timeout}=="30"
- ATTRS{evt_media_change}=="0"
- ATTRS{ioerr_cnt}=="0x16"
- ATTRS{queue_depth}=="31"
- ATTRS{vendor}=="ATA "
- ATTRS{evt_soft_threshold_reached}=="0"
- ATTRS{device_blocked}=="0"
- ATTRS{evt_mode_parameter_change_reported}=="0"
- ATTRS{evt_lun_change_reported}=="0"
- ATTRS{evt_inquiry_change_reported}=="0"
- ATTRS{iocounterbits}=="32"
- ATTRS{inquiry}==""
- ATTRS{vpd_pg80}==""
- ATTRS{vpd_pg83}==""
- ATTRS{eh_timeout}=="10"
-
- looking at parent device '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0':
- KERNELS=="target0:0:0"
- SUBSYSTEMS=="scsi"
- DRIVERS==""
-
- looking at parent device '/devices/pci0000:00/0000:00:1f.2/ata1/host0':
- KERNELS=="host0"
- SUBSYSTEMS=="scsi"
- DRIVERS==""
-
- looking at parent device '/devices/pci0000:00/0000:00:1f.2/ata1':
- KERNELS=="ata1"
- SUBSYSTEMS==""
- DRIVERS==""
-
- looking at parent device '/devices/pci0000:00/0000:00:1f.2':
- KERNELS=="0000:00:1f.2"
- SUBSYSTEMS=="pci"
- DRIVERS=="ahci"
- ATTRS{irq}=="26"
- ATTRS{subsystem_vendor}=="0x1028"
- ATTRS{broken_parity_status}=="0"
- ATTRS{class}=="0x010400"
- ATTRS{driver_override}=="(null)"
- ATTRS{consistent_dma_mask_bits}=="64"
- ATTRS{dma_mask_bits}=="64"
- ATTRS{local_cpus}=="ffffffff"
- ATTRS{device}=="0x2822"
- ATTRS{enable}=="1"
- ATTRS{msi_bus}=="1"
- ATTRS{local_cpulist}=="0-31"
- ATTRS{vendor}=="0x8086"
- ATTRS{subsystem_device}=="0x0293"
- ATTRS{d3cold_allowed}=="1"
-
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
-