udevinfo -a -p /sys/block/sda : udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes in the udev key format. Only attributes within one device section may be used together in one rule, to match the device for which the node will be created. device '/sys/block/sda' has major:minor 8:0 looking at class device '/sys/block/sda': SUBSYSTEM=="block" SYSFS{dev}=="8:0" SYSFS{range}=="16" SYSFS{removable}=="1" SYSFS{size}=="0" SYSFS{stat}==" 0 0 0 0 0 0 0 0 0 0 0" follow the "device"-link to the physical device: looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0/0:0:0:0': BUS=="scsi" ID=="0:0:0:0" DRIVER=="sd" SYSFS{device_blocked}=="0" SYSFS{iocounterbits}=="32" SYSFS{iodone_cnt}=="0x4" SYSFS{ioerr_cnt}=="0x3" SYSFS{iorequest_cnt}=="0x4" SYSFS{max_sectors}=="240" SYSFS{model}=="USB SD Reader " SYSFS{queue_depth}=="1" SYSFS{queue_type}=="none" SYSFS{rev}=="1.00" SYSFS{scsi_level}=="3" SYSFS{state}=="running" SYSFS{timeout}=="30" SYSFS{type}=="0" SYSFS{vendor}=="Generic " looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0': BUS=="" ID=="target0:0:0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0': BUS=="" ID=="host0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0': BUS=="usb" ID=="5-4:1.0" DRIVER=="usb-storage" SYSFS{bAlternateSetting}==" 0" SYSFS{bInterfaceClass}=="08" SYSFS{bInterfaceNumber}=="00" SYSFS{bInterfaceProtocol}=="50" SYSFS{bInterfaceSubClass}=="06" SYSFS{bNumEndpoints}=="02" SYSFS{modalias}=="usb:v058Fp6362d0126dc00dsc00dp00ic08isc06ip50" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4': BUS=="usb" ID=="5-4" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="00" SYSFS{bDeviceProtocol}=="00" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="64" SYSFS{bMaxPower}=="100mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0126" SYSFS{bmAttributes}=="80" SYSFS{configuration}=="" SYSFS{devnum}=="2" SYSFS{idProduct}=="6362" SYSFS{idVendor}=="058f" SYSFS{manufacturer}=="Generic" SYSFS{maxchild}=="0" SYSFS{product}=="Mass Storage Device" SYSFS{serial}=="058F312D81B" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5': BUS=="usb" ID=="usb5" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="09" SYSFS{bDeviceProtocol}=="01" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="8" SYSFS{bMaxPower}==" 0mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0206" SYSFS{bmAttributes}=="e0" SYSFS{configuration}=="" SYSFS{devnum}=="1" SYSFS{idProduct}=="0000" SYSFS{idVendor}=="0000" SYSFS{manufacturer}=="Linux 2.6.13-ARCH ehci_hcd" SYSFS{maxchild}=="8" SYSFS{product}=="VIA Technologies_ Inc. USB 2.0" SYSFS{serial}=="0000:00:10.4" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4': BUS=="pci" ID=="0000:00:10.4" DRIVER=="ehci_hcd" SYSFS{class}=="0x0c0320" SYSFS{device}=="0x3104" SYSFS{irq}=="19" SYSFS{local_cpus}=="f" SYSFS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20" SYSFS{subsystem_device}=="0x3104" SYSFS{subsystem_vendor}=="0x1106" SYSFS{vendor}=="0x1106" looking at the device chain at '/sys/devices/pci0000:00': BUS=="" ID=="pci0000:00" DRIVER=="unknown" udevinfo -a -p /sys/block/sdb : udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes in the udev key format. Only attributes within one device section may be used together in one rule, to match the device for which the node will be created. device '/sys/block/sdb' has major:minor 8:16 looking at class device '/sys/block/sdb': SUBSYSTEM=="block" SYSFS{dev}=="8:16" SYSFS{range}=="16" SYSFS{removable}=="1" SYSFS{size}=="1000944" SYSFS{stat}==" 11 151 169 36 0 0 0 0 0 36 36" follow the "device"-link to the physical device: looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0/0:0:0:1': BUS=="scsi" ID=="0:0:0:1" DRIVER=="sd" SYSFS{device_blocked}=="0" SYSFS{iocounterbits}=="32" SYSFS{iodone_cnt}=="0x16" SYSFS{ioerr_cnt}=="0x2" SYSFS{iorequest_cnt}=="0x16" SYSFS{max_sectors}=="240" SYSFS{model}=="USB CF Reader " SYSFS{queue_depth}=="1" SYSFS{queue_type}=="none" SYSFS{rev}=="1.01" SYSFS{scsi_level}=="3" SYSFS{state}=="running" SYSFS{timeout}=="30" SYSFS{type}=="0" SYSFS{vendor}=="Generic " looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0': BUS=="" ID=="target0:0:0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0': BUS=="" ID=="host0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0': BUS=="usb" ID=="5-4:1.0" DRIVER=="usb-storage" SYSFS{bAlternateSetting}==" 0" SYSFS{bInterfaceClass}=="08" SYSFS{bInterfaceNumber}=="00" SYSFS{bInterfaceProtocol}=="50" SYSFS{bInterfaceSubClass}=="06" SYSFS{bNumEndpoints}=="02" SYSFS{modalias}=="usb:v058Fp6362d0126dc00dsc00dp00ic08isc06ip50" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4': BUS=="usb" ID=="5-4" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="00" SYSFS{bDeviceProtocol}=="00" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="64" SYSFS{bMaxPower}=="100mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0126" SYSFS{bmAttributes}=="80" SYSFS{configuration}=="" SYSFS{devnum}=="2" SYSFS{idProduct}=="6362" SYSFS{idVendor}=="058f" SYSFS{manufacturer}=="Generic" SYSFS{maxchild}=="0" SYSFS{product}=="Mass Storage Device" SYSFS{serial}=="058F312D81B" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5': BUS=="usb" ID=="usb5" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="09" SYSFS{bDeviceProtocol}=="01" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="8" SYSFS{bMaxPower}==" 0mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0206" SYSFS{bmAttributes}=="e0" SYSFS{configuration}=="" SYSFS{devnum}=="1" SYSFS{idProduct}=="0000" SYSFS{idVendor}=="0000" SYSFS{manufacturer}=="Linux 2.6.13-ARCH ehci_hcd" SYSFS{maxchild}=="8" SYSFS{product}=="VIA Technologies_ Inc. USB 2.0" SYSFS{serial}=="0000:00:10.4" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4': BUS=="pci" ID=="0000:00:10.4" DRIVER=="ehci_hcd" SYSFS{class}=="0x0c0320" SYSFS{device}=="0x3104" SYSFS{irq}=="19" SYSFS{local_cpus}=="f" SYSFS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20" SYSFS{subsystem_device}=="0x3104" SYSFS{subsystem_vendor}=="0x1106" SYSFS{vendor}=="0x1106" looking at the device chain at '/sys/devices/pci0000:00': BUS=="" ID=="pci0000:00" DRIVER=="unknown" udevinfo -a -p /sys/block/sdc : udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes in the udev key format. Only attributes within one device section may be used together in one rule, to match the device for which the node will be created. device '/sys/block/sdc' has major:minor 8:32 looking at class device '/sys/block/sdc': SUBSYSTEM=="block" SYSFS{dev}=="8:32" SYSFS{range}=="16" SYSFS{removable}=="1" SYSFS{size}=="0" SYSFS{stat}==" 0 0 0 0 0 0 0 0 0 0 0" follow the "device"-link to the physical device: looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0/0:0:0:2': BUS=="scsi" ID=="0:0:0:2" DRIVER=="sd" SYSFS{device_blocked}=="0" SYSFS{iocounterbits}=="32" SYSFS{iodone_cnt}=="0x4" SYSFS{ioerr_cnt}=="0x3" SYSFS{iorequest_cnt}=="0x4" SYSFS{max_sectors}=="240" SYSFS{model}=="USB SM Reader " SYSFS{queue_depth}=="1" SYSFS{queue_type}=="none" SYSFS{rev}=="1.02" SYSFS{scsi_level}=="3" SYSFS{state}=="running" SYSFS{timeout}=="30" SYSFS{type}=="0" SYSFS{vendor}=="Generic " looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0': BUS=="" ID=="target0:0:0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0': BUS=="" ID=="host0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0': BUS=="usb" ID=="5-4:1.0" DRIVER=="usb-storage" SYSFS{bAlternateSetting}==" 0" SYSFS{bInterfaceClass}=="08" SYSFS{bInterfaceNumber}=="00" SYSFS{bInterfaceProtocol}=="50" SYSFS{bInterfaceSubClass}=="06" SYSFS{bNumEndpoints}=="02" SYSFS{modalias}=="usb:v058Fp6362d0126dc00dsc00dp00ic08isc06ip50" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4': BUS=="usb" ID=="5-4" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="00" SYSFS{bDeviceProtocol}=="00" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="64" SYSFS{bMaxPower}=="100mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0126" SYSFS{bmAttributes}=="80" SYSFS{configuration}=="" SYSFS{devnum}=="2" SYSFS{idProduct}=="6362" SYSFS{idVendor}=="058f" SYSFS{manufacturer}=="Generic" SYSFS{maxchild}=="0" SYSFS{product}=="Mass Storage Device" SYSFS{serial}=="058F312D81B" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5': BUS=="usb" ID=="usb5" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="09" SYSFS{bDeviceProtocol}=="01" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="8" SYSFS{bMaxPower}==" 0mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0206" SYSFS{bmAttributes}=="e0" SYSFS{configuration}=="" SYSFS{devnum}=="1" SYSFS{idProduct}=="0000" SYSFS{idVendor}=="0000" SYSFS{manufacturer}=="Linux 2.6.13-ARCH ehci_hcd" SYSFS{maxchild}=="8" SYSFS{product}=="VIA Technologies_ Inc. USB 2.0" SYSFS{serial}=="0000:00:10.4" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4': BUS=="pci" ID=="0000:00:10.4" DRIVER=="ehci_hcd" SYSFS{class}=="0x0c0320" SYSFS{device}=="0x3104" SYSFS{irq}=="19" SYSFS{local_cpus}=="f" SYSFS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20" SYSFS{subsystem_device}=="0x3104" SYSFS{subsystem_vendor}=="0x1106" SYSFS{vendor}=="0x1106" looking at the device chain at '/sys/devices/pci0000:00': BUS=="" ID=="pci0000:00" DRIVER=="unknown" udevinfo -a -p /sys/block/sdd : udevinfo starts with the device the node belongs to and then walks up the device chain, to print for every device found, all possibly useful attributes in the udev key format. Only attributes within one device section may be used together in one rule, to match the device for which the node will be created. device '/sys/block/sdd' has major:minor 8:48 looking at class device '/sys/block/sdd': SUBSYSTEM=="block" SYSFS{dev}=="8:48" SYSFS{range}=="16" SYSFS{removable}=="1" SYSFS{size}=="0" SYSFS{stat}==" 0 0 0 0 0 0 0 0 0 0 0" follow the "device"-link to the physical device: looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0/0:0:0:3': BUS=="scsi" ID=="0:0:0:3" DRIVER=="sd" SYSFS{device_blocked}=="0" SYSFS{iocounterbits}=="32" SYSFS{iodone_cnt}=="0x4" SYSFS{ioerr_cnt}=="0x3" SYSFS{iorequest_cnt}=="0x4" SYSFS{max_sectors}=="240" SYSFS{model}=="USB MS Reader " SYSFS{queue_depth}=="1" SYSFS{queue_type}=="none" SYSFS{rev}=="1.03" SYSFS{scsi_level}=="3" SYSFS{state}=="running" SYSFS{timeout}=="30" SYSFS{type}=="0" SYSFS{vendor}=="Generic " looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0/target0:0:0': BUS=="" ID=="target0:0:0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0/host0': BUS=="" ID=="host0" DRIVER=="unknown" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4/5-4:1.0': BUS=="usb" ID=="5-4:1.0" DRIVER=="usb-storage" SYSFS{bAlternateSetting}==" 0" SYSFS{bInterfaceClass}=="08" SYSFS{bInterfaceNumber}=="00" SYSFS{bInterfaceProtocol}=="50" SYSFS{bInterfaceSubClass}=="06" SYSFS{bNumEndpoints}=="02" SYSFS{modalias}=="usb:v058Fp6362d0126dc00dsc00dp00ic08isc06ip50" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5/5-4': BUS=="usb" ID=="5-4" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="00" SYSFS{bDeviceProtocol}=="00" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="64" SYSFS{bMaxPower}=="100mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0126" SYSFS{bmAttributes}=="80" SYSFS{configuration}=="" SYSFS{devnum}=="2" SYSFS{idProduct}=="6362" SYSFS{idVendor}=="058f" SYSFS{manufacturer}=="Generic" SYSFS{maxchild}=="0" SYSFS{product}=="Mass Storage Device" SYSFS{serial}=="058F312D81B" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4/usb5': BUS=="usb" ID=="usb5" DRIVER=="usb" SYSFS{bConfigurationValue}=="1" SYSFS{bDeviceClass}=="09" SYSFS{bDeviceProtocol}=="01" SYSFS{bDeviceSubClass}=="00" SYSFS{bMaxPacketSize0}=="8" SYSFS{bMaxPower}==" 0mA" SYSFS{bNumConfigurations}=="1" SYSFS{bNumInterfaces}==" 1" SYSFS{bcdDevice}=="0206" SYSFS{bmAttributes}=="e0" SYSFS{configuration}=="" SYSFS{devnum}=="1" SYSFS{idProduct}=="0000" SYSFS{idVendor}=="0000" SYSFS{manufacturer}=="Linux 2.6.13-ARCH ehci_hcd" SYSFS{maxchild}=="8" SYSFS{product}=="VIA Technologies_ Inc. USB 2.0" SYSFS{serial}=="0000:00:10.4" SYSFS{speed}=="480" SYSFS{version}==" 2.00" looking at the device chain at '/sys/devices/pci0000:00/0000:00:10.4': BUS=="pci" ID=="0000:00:10.4" DRIVER=="ehci_hcd" SYSFS{class}=="0x0c0320" SYSFS{device}=="0x3104" SYSFS{irq}=="19" SYSFS{local_cpus}=="f" SYSFS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20" SYSFS{subsystem_device}=="0x3104" SYSFS{subsystem_vendor}=="0x1106" SYSFS{vendor}=="0x1106" looking at the device chain at '/sys/devices/pci0000:00': BUS=="" ID=="pci0000:00" DRIVER=="unknown"