Hello list, has anybody an idea how to write some rules to match devices from the mtd framework? All I get is: ------------------------------------------------------------------ $ udevadm info -a -p /sys/block/mtdblock5 Udevinfo starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/devices/virtual/block/mtdblock5': KERNEL=="mtdblock5" SUBSYSTEM=="block" DRIVER=="" ATTR{range}=="1" ATTR{removable}=="0" ATTR{ro}=="0" ATTR{size}=="1024" ATTR{capability}=="10" ATTR{stat}==" 0 0 0 0 0 0 0 0 0 0 0" ------------------------------------------------------------------ And its mostly the same for all the other mtdblock devices. The other frameworks like SATA and USB providing much more information about their bus controllers and connected devices to find adequate matching rules. But mtd seems very uncommunicative, or do I query the wrong path to search for usefull rules to match? Regards, Juergen -- Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Vertretung Sued/Muenchen, Germany Phone: +49-8766-939 228 | Fax: +49-5121-206917-9 -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html