[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#404927: udevinfo output for ips driver



Here's udevinfo output from a RHEL4 system w/ the ips driver, courtesy
of Bamm Visscher. You'll notice that this instance also has removable=0.

-- 
dann frazier

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.

  looking at class device '/sys/block/sda':
    SYSFS{dev}="8:0"
    SYSFS{range}="16"
    SYSFS{removable}="0"
    SYSFS{size}="1433733120"
    SYSFS{stat}="61039776   672952 4155956989 272526067 680704301 2835885589 2363479458 2274138926        0 411834450 2546668794"

follow the class device's "device"
  looking at the device chain at '/sys/devices/pci0000:00/0000:00:06.0/0000:07:00.0/0000:08:0e.0/host0/target0:0:0/0:0:0:0':
    BUS="scsi"
    ID="0:0:0:0"
    SYSFS{detach_state}="0"
    SYSFS{device_blocked}="0"
    SYSFS{model}="SERVERAID       "
    SYSFS{queue_depth}="63"
    SYSFS{rev}="1.00"
    SYSFS{scsi_level}="3"
    SYSFS{state}="running"
    SYSFS{timeout}="30"
    SYSFS{type}="0"
    SYSFS{vendor}="IBM     "

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:06.0/0000:07:00.0/0000:08:0e.0/host0/target0:0:0':
    BUS=""
    ID="target0:0:0"
    SYSFS{detach_state}="0"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:06.0/0000:07:00.0/0000:08:0e.0/host0':
    BUS=""
    ID="host0"
    SYSFS{detach_state}="0"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:06.0/0000:07:00.0/0000:08:0e.0':
    BUS="pci"
    ID="0000:08:0e.0"
    SYSFS{class}="0x010400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x0250"
    SYSFS{irq}="217"
    SYSFS{subsystem_device}="0x028e"
    SYSFS{subsystem_vendor}="0x1014"
    SYSFS{vendor}="0x9005"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:06.0/0000:07:00.0':
    BUS="pci"
    ID="0000:07:00.0"
    SYSFS{class}="0x060400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x0330"
    SYSFS{irq}="0"
    SYSFS{subsystem_device}="0x0000"
    SYSFS{subsystem_vendor}="0x0000"
    SYSFS{vendor}="0x8086"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:06.0':
    BUS="pci"
    ID="0000:00:06.0"
    SYSFS{class}="0x060400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x3599"
    SYSFS{irq}="169"
    SYSFS{subsystem_device}="0x0000"
    SYSFS{subsystem_vendor}="0x0000"
    SYSFS{vendor}="0x8086"

  looking at the device chain at '/sys/devices/pci0000:00':
    BUS=""
    ID="pci0000:00"
    SYSFS{detach_state}="0"


Reply to: