On Tue, Dec 1, 2009 at 00:27, Johannes Stezenbach <js@xxxxxxxxx> wrote: > + strncat(fn, "/device/device/force_release", sizeof(fn)); You can only select a parent device by it's subsystem/devtype. Any hardcoded assumption about the order of parents is wrong, and the "device" link is deprecated, it must not appear anywhere in udev code. Thanks, Kay -- 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