On Thu, May 22, 2008 at 21:16:00 +0200, Bruno Voigt wrote: > Hi all, > > I have one daily updated sid system running, > which doesn't populate the /dev/disk/by-id/ path > for an connecting USB-stick (w32 FAT) > as it is done by my other sid systems. > (it only shows up as eg /dev/uba1) > > I compared the /etc/udev/rules.d/ contents > and they look very similar, > e.g. persistent.rules is identical. > > Which rule/file is responsible > for populating the /dev/disk/by-id/ path.
That should be persistent.rules, which you have compared already. Is this file symlinked in rules.d the same way on the two systems? > How can I debug what's going on? > I suspect it might be some left over cfg > from older udev-releases or so, > because the system is very old / always being upgraded from sarge/or older. Has the "hotplug" package been purged (not just removed) on the old system? In any case, you can use "udevtest" to see which rules are applied. Here is an example for a usb stick at /dev/sdc: $ udevtest /block/sdc | egrep 'persistent\.rules|by-id' parse_file: reading '/etc/udev/rules.d/z20_persistent.rules' as rules file udev_rules_get_name: add symlink 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device' udev_node_update_symlinks: update symlink 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device' of '/block/sdc' udev_db_get_devices_by_name: found index directory '/dev/.udev/names/disk\x2fby-id\x2fusb-Prolific_Technology_Inc._USB_Mass_Storage_Device' update_link: found 1 devices with name 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device' update_link: found '/block/sdc' for 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device' update_link: 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device' with target 'sdc' has the highest priority 0, create it And here is what should happen for the first partition (/dev/sdc1/): $ udevtest /block/sdc/sdc1 | egrep 'persistent\.rules|by-id' parse_file: reading '/etc/udev/rules.d/z20_persistent.rules' as rules file udev_rules_get_name: add symlink 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' udev_node_update_symlinks: update symlink 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' of '/block/sdc/sdc1' udev_db_get_devices_by_name: found index directory '/dev/.udev/names/disk\x2fby-id\x2fusb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' update_link: found 1 devices with name 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' update_link: found '/block/sdc/sdc1' for 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' update_link: 'disk/by-id/usb-Prolific_Technology_Inc._USB_Mass_Storage_Device-part1' with target 'sdc1' has the highest priority 0, create it -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]