Re: "udevadm info --attribute-walk --path=/block/sda" doesn't showparents

From: Chris Friesen
Date: Fri Apr 20 2012 - 03:03:40 EST

On 04/18/2012 03:42 PM, Chris Friesen wrote:

I have a kernel with udev-161 (also tested with udevadm from udev-173).

When I run "udevadm info --attribute-walk --path=/block/sda" it just shows the device
itself, and doesn't walk the whole chain showing the parents.

Is there anything I can do, or am I caught with a kernel that isn't properly supported?
I'm not subscribed to the hotplug list, so cc'ing me would be appreciated.

I don't know what's causing the problem, but I find it suspicious that /sys/block/sda
is a directory rather than a symlink like it is on my laptop. I'm poking
around in the udevadm code now.

Some possibly-useful information:

I forgot to include this....this might be useful as well:

root@typhoon-base-unit0:/root> udevadm info -q path -n /dev/sda

For comparison, on my laptop I get:

[cfriesen@blah log]$ udevadm info -q path -n /dev/sda

Chris Friesen
Software Developer
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at