On Wed, Aug 13, 2008 at 10:31:06AM -0700, H. Peter Anvin wrote: > Scott James Remnant wrote: >> b) kernel names remain the same, include DEVNAME in environment >> ACTION=add >> DEVPATH=/class/input/mice >> DEVNAME=/dev/input/mice >> SUBSYSTEM=input >> MAJOR=13 >> MINOR=63 >> Pro: fixes sysfs and compatibility, attractive >> Con: udev needs patching, extra macro in kernel > > In this case, I would also argue we need devname in sysfs. There are > enough tools out there who want to be able to correlate sysfs and devices. So the kernel should cache this information? That's a mess, why do that when userspace already has this mapping (udevinfo provides it). We already have a mapping from device major/minor already in sysfs as well. So why would the kernel need to care about this? thanks, greg k-h -- 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