On Mon, Aug 11, 2008 at 18:58, Greg KH <greg@xxxxxxxxx> wrote: > On Mon, Aug 11, 2008 at 06:48:19PM +0200, Marco d'Itri wrote: >> On Aug 11, Greg KH <greg@xxxxxxxxx> wrote: >> >> > Where does the kernel not give the "right" name today? >> >> For a start: > > The large majority of those are because you want a subdirectory to make > things pretty. The kernel can't do anything about that. > > But some of them do look like the real name should be changed, like > these: > >> KERNEL=="zapctl", NAME="zap/ctl" >> KERNEL=="zapchannel", NAME="zap/channel" >> KERNEL=="zappseudo", NAME="zap/pseudo" >> KERNEL=="zaptimer", NAME="zap/timer" > > Anyone send upstream a patch to do so? Seems that this driver is not upstream. It also changed its name to "dahdi", so we can drop these rules I guess. And it already has new names: (dahdi_class, MKDEV(DAHDI_MAJOR, 253), NULL, "dahditimer"); (dahdi_class, MKDEV(DAHDI_MAJOR, 254), NULL, "dahdichannel"); (dahdi_class, MKDEV(DAHDI_MAJOR, 255), NULL, "dahdipseudo"); (dahdi_class, MKDEV(DAHDI_MAJOR, 0), NULL, "dahdictl"); The driver comes with a set of udev rules, I guess someone should suggest the authors to rename the devices to prefix with "dahdi!*", so they are no longer needed. 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