From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Mon, 11 Aug 2008 16:41:10 +0000 Subject: Re: default udev rules Message-Id: <3ae72650808110941q759bdae0u2c09a45461834d26@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:37, Greg KH wrote: > On Mon, Aug 11, 2008 at 04:42:59PM +0100, Scott James Remnant wrote: >> On Mon, 2008-08-11 at 11:18 -0400, David Zeuthen wrote: >> >> > FWIW, if you edit some udev rules then your system will most likely >> > break in one way or another. Look at it this way, what do you think >> > would happen if a user changed any of these rules >> > >> > "KERNEL="device-mapper", NAME="mapper/control" >> > >> If udev rules are intended to be shared amongst all distributions, and >> not editable by users, that means device names will be fixed? >> >> (Yay) >> >> But surely that means cases where we need NAME= rules are now better >> fixed by fixing the kernel to give it the right name in the first place? > > Where does the kernel not give the "right" name today? usb-device, dvb, ... are totally disconnected names, lot of stuff lives in subdirs like "input/", "sound/", ... and needs rules for moving it there. Kay