From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Date: Wed, 13 Aug 2008 18:22:35 +0000 Subject: Re: Patches for device names Message-Id: <48A3266B.1040201@zytor.com> 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="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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? -hpa