Re: 2.5.26 hotplug failure

From: Greg KH (
Date: Thu Sep 19 2002 - 11:49:24 EST

On Thu, Sep 19, 2002 at 09:55:57AM +0200, Daniel Phillips wrote:
> On Thursday 19 September 2002 09:48, Greg KH wrote:
> > On Thu, Sep 19, 2002 at 09:37:07AM +0200, Daniel Phillips wrote:
> > > On Wednesday 18 September 2002 18:55, Greg KH wrote:
> > > > Sorry, but I'm not going to put the file back. I understand your
> > > > concerns. We should have some kind of program (lsdev like) that shows
> > > > the system information present at that moment in time. It will be able
> > > > to provide what the /proc/bus/usb/drivers file showed in the past.
> > >
> > > How about calling it /proc/bus/usb/drivers?
> >
> > Please go back and read what I wrote above what you snipped out and then
> > explain how this would be possible.
> I don't get it. What's the problem? Not that I'm advocating that proc have
> functionality that can be done perfectly well in user space, but I fail to
> see why you couldn't do it in proc if you wanted to.

First of all, /proc/bus/usb/* is not a proc filesystem, usbfs is mounted
in that location :)

The main reason is this information is no longer available to the USB
core. It isn't keeping a list of registered drivers anymore, only the
driver core is. So there's no way that usbfs can get to that
information. As the info is available in driverfs, duplication of it in
usbfs would be bloat.


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:26 EST