From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Tue, 12 Aug 2008 20:32:41 +0000 Subject: Re: default udev rules Message-Id: <3ae72650808121332u25dff8bcnb11fae838d3c5a7d@mail.gmail.com> List-Id: References: <1218277281.31266.32.camel@lgn.site> In-Reply-To: <1218277281.31266.32.camel@lgn.site> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Aug 11, 2008 at 18:58, Greg KH wrote: > On Mon, Aug 11, 2008 at 06:48:19PM +0200, Marco d'Itri wrote: >> On Aug 11, Greg KH 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