From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 04 Jun 2002 22:19:32 +0000 Subject: Re: getting device info from device node Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Jun 05, 2002 at 12:13:18AM +0200, Oliver Neukum wrote: > Hi Greg, > > I must disagree. The most basic thing about configuring > a device is identifying it. You must be able to tell what it is. > > However I think I found a relatively clean way. > You can return a name from an ioctl(). > You just can't return the one human readable name. > You can return a name which is unique and can only > be used while the device is still plugged in. Great, how does the kernel create this "name"? thanks, greg k-h _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel