Bug#398507: bug still not fixed
# udevinfo -a -n /dev/mmcblk0p1
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 '/block/mmcblk0/mmcblk0p1':
KERNEL=="mmcblk0p1"
SUBSYSTEM=="block"
DRIVER==""
ATTR{stat}==" 385 385 0 0"
ATTR{size}=="1983495"
ATTR{start}=="249"
ATTR{dev}=="254:1"
looking at parent device '/block/mmcblk0':
KERNELS=="mmcblk0"
SUBSYSTEMS=="block"
DRIVERS==""
ATTRS{stat}==" 438 0 809 2176 0 0
0 0 0 184 2176"
ATTRS{size}=="1984000"
ATTRS{removable}=="0"
ATTRS{range}=="8"
ATTRS{dev}=="254:0"
looking at parent
device '/devices/pci0000:00/0000:00:1e.0/0000:02:06.4/mmc2:9ffc':
KERNELS=="mmc2:9ffc"
SUBSYSTEMS=="mmc"
DRIVERS=="mmcblk"
ATTRS{scr}=="0125000000000000"
ATTRS{serial}=="0x20cbe901"
ATTRS{oemid}=="0x5344"
ATTRS{name}=="SD01G"
ATTRS{manfid}=="0x000003"
ATTRS{hwrev}=="0x8"
ATTRS{fwrev}=="0x0"
ATTRS{date}=="01/2006"
ATTRS{csd}=="002600325f5983c8befbcfffd2404000"
ATTRS{cid}=="03534453443031478020cbe901006100"
looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:02:06.4':
KERNELS=="0000:02:06.4"
SUBSYSTEMS=="pci"
DRIVERS=="sdhci"
ATTRS{broken_parity_status}=="0"
ATTRS{enable}=="1"
ATTRS{modalias}=="pci:v0000104Cd00008034sv0000103Csd00000934bc08sc05i00"
ATTRS{local_cpus}=="1"
ATTRS{irq}=="10"
ATTRS{class}=="0x080500"
ATTRS{subsystem_device}=="0x0934"
ATTRS{subsystem_vendor}=="0x103c"
ATTRS{device}=="0x8034"
ATTRS{vendor}=="0x104c"
looking at parent device '/devices/pci0000:00/0000:00:1e.0':
KERNELS=="0000:00:1e.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{broken_parity_status}=="0"
ATTRS{enable}=="1"
ATTRS{modalias}=="pci:v00008086d00002448sv00000000sd00000000bc06sc04i01"
ATTRS{local_cpus}=="1"
ATTRS{irq}=="0"
ATTRS{class}=="0x060401"
ATTRS{subsystem_device}=="0x0000"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{device}=="0x2448"
ATTRS{vendor}=="0x8086"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
Reply to: