From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 13 Aug 2008 18:54:57 +0000 Subject: Re: Patches for device names Message-Id: <1218653697.24073.28.camel@lgn.site> List-Id: References: <1218648175.6882.63.camel@quest> In-Reply-To: <1218648175.6882.63.camel@quest> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Wed, 2008-08-13 at 10:31 -0700, H. Peter Anvin wrote: > Scott James Remnant wrote: > >=20 > > b) kernel names remain the same, include DEVNAME in environment > >=20 > > ACTION=ADd > > DEVPATH=3D/class/input/mice > > DEVNAME=3D/dev/input/mice > > SUBSYSTEM=3Dinput > > MAJOR=13 > > MINORc > >=20 > > Pro: fixes sysfs and compatibility, attractive > > Con: udev needs patching, extra macro in kernel > >=20 >=20 > In this case, I would also argue we need devname in sysfs. There are=20 > enough tools out there who want to be able to correlate sysfs and devices. Maybe better than nothing, yeah, but the basic /dev name is in a lot of cases not too interesting, but the symlinks are, and they will not be known by the kernel. Kay