All pastes #974644 Raw Edit

clueless

public text v1 · immutable
·published 2008-04-06 22:39 UTC
rendered paste body
Command: udevinfo -a -p /sys/class/net/eth0/Udevinfo starts with the device specified by the devpath and thenwalks up the chain of parent devices. It prints for every devicefound, all possible attributes in the udev rules key format.A rule to match, can be composed by the attributes of the deviceand the attributes from one single parent device.  looking at device '/class/net/eth0':    KERNEL=="eth0"    SUBSYSTEM=="net"    DRIVER==""    ATTR{weight}=="0"    ATTR{tx_queue_len}=="1000"    ATTR{flags}=="0x1003"    ATTR{mtu}=="1500"    ATTR{carrier}=="1"    ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"    ATTR{address}=="00:09:5b:8d:10:f5"    ATTR{type}=="1"    ATTR{features}=="0x0"    ATTR{ifindex}=="2"    ATTR{iflink}=="2"    ATTR{addr_len}=="6"  looking at parent device '/devices/pci0000:00/0000:00:0e.0':    KERNELS=="0000:00:0e.0"    SUBSYSTEMS=="pci"    DRIVERS=="natsemi"    ATTRS{modalias}=="pci:v0000100Bd00000020sv00001385sd0000F312bc02sc00i00"    ATTRS{local_cpus}=="1"    ATTRS{irq}=="11"    ATTRS{class}=="0x020000"    ATTRS{subsystem_device}=="0xf312"    ATTRS{subsystem_vendor}=="0x1385"    ATTRS{device}=="0x0020"    ATTRS{vendor}=="0x100b"  looking at parent device '/devices/pci0000:00':    KERNELS=="pci0000:00"    SUBSYSTEMS==""    DRIVERS==""