From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott James Remnant Date: Wed, 13 Aug 2008 18:33:02 +0000 Subject: Re: Patches for device names Message-Id: <1218652382.6882.69.camel@quest> MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-TNkzSj00MCogW4pIDT3w" List-Id: References: <1218648175.6882.63.camel@quest> In-Reply-To: <1218648175.6882.63.camel@quest> To: linux-hotplug@vger.kernel.org --=-TNkzSj00MCogW4pIDT3w Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-08-13 at 11:22 -0700, H. Peter Anvin wrote: > Greg KH wrote: > >=20 > > So the kernel should cache this information? That's a mess, why do tha= t > > when userspace already has this mapping (udevinfo provides it). We > > already have a mapping from device major/minor already in sysfs as well= . > >=20 > > So why would the kernel need to care about this? > >=20 >=20 > Fair enough. >=20 > Now, calling udevinfo is quite expensive; is this information available=20 > through a programmatic API? >=20 http://hal.freedesktop.org/docs/DeviceKit/ Scott --=20 Scott James Remnant scott@canonical.com --=-TNkzSj00MCogW4pIDT3w Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIoyjeSnQiFMl4yK4RAjrMAJ98rmwGSPw2mzdXoyVjIZxOoBezkgCePhxb b0RaydX9GnE0ywFJZWPLR5E= =RTYU -----END PGP SIGNATURE----- --=-TNkzSj00MCogW4pIDT3w--