[lkml]   [2008]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Missing usb_find_device symbol from usb.c
    On Thu, Jan 24, 2008 at 07:42:20PM +0200, Pekka Enberg wrote:
    > Hi Greg,
    > On Jan 24, 2008 7:20 PM, Greg KH <> wrote:
    > > > So it's not a simple code change at all.
    > >
    > > Just create a root directory for every device that is seen in the
    > > probe() function. That should be pretty simple to do.
    > Yeah, that would work but why do we want to mount all devices under
    > the same mount point? If you move device discovery to ->probe() it's
    > simple to have per-device mount points by overriding ->get_sb() to
    > check for USB_DEVICE_MAJOR and look up the actual device, no?
    > Otherwise you have to deal with device plug/unplug at filesystem
    > level...

    Yes, you could do that (per device mount), but it might be confusing for
    users to have to control things that way.

    And the unplug issue at a filesystem level should be pretty trivial to
    handle, we do it all the time in /proc and /sys and other virtual
    filesystems (usbfs) with no problems.


    greg k-h

     \ /
      Last update: 2008-01-24 19:25    [W:0.020 / U:16.188 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site