Matt Burgess wrote: > On Tue, 2012-11-27 at 21:42 -0800, Bryan Kadzban wrote: > >> If it is this, then it should be reasonably obvious from the udevadm >> test output I'd expect, but a full test would be something like: >> >> udevadm info -q env -p /sys/class/block/<whatever partition>
The rule that should be fired is 60-persistent-storage.rules: ENV{DEVTYPE}=="partition", ENV{ID_PATH}=="?*", \ SYMLINK+="disk/by-path/$env{ID_PATH}-part%n" But when I run udevadm info -q env -p /sys/class/block/sda5 I get: DEVTYPE=partition but no ID_PATH The best I can tell right now is that ID_PATH should be set in src/udev/udev-builtin-path_id.c line 536. That code is included directly in udevd and udevadm -- not a library. Checking against a slightly older build with udev 182, I only have two entries in /dev/disk/by-path, /dev/hda (CD-ROM) and /dev/sdc (which appears to be a leftover usb entry). -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page