On Wed, 2008-08-13 at 11:22 -0700, H. Peter Anvin wrote: > Greg KH wrote: > > > > 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? > > > > Fair enough. > > Now, calling udevinfo is quite expensive; is this information available > through a programmatic API? Not directly to udev, because all higher level stuff uses HAL. We could create a shared library that offers access to the udev database, but there was no real need for that. Thanks, 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