Cool idea! I would be most open to having someone contribute this or, if they could help work out a set of simple requirements I could womp up an initial policy for this in a short time.
Device mapper and the md layer generates hotplug events which are managed by the framework. There is no specific policy for these subsystems, but they could be implemented... With today's code, they fall through and are exported as disks. One good policy method that could be implemented is to scan the lvm lv list and map the major/minor to the real lv, and use that to name the device (instead of lvm naming the device). This hasn't been done but if your up for it, Mark can probably help you.
mark
- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html