Re: [linux-usb-devel] RFC drivers/usb/storage/libusual

From: Alan Stern
Date: Wed Sep 28 2005 - 14:44:05 EST


On Wed, 28 Sep 2005, Greg KH wrote:

> If so, a few comments.
> - This only covers the "which module to load" question. Once the
> module is loaded, it still always grabs the storage devices, even if
> another module is loaded later on. Isn't that still the same issue
> we have today? Can't we fix this too?

How about exposing modules' id tables through sysfs and allowing a way
for entries to be marked valid or invalid? Then a userspace utility
program could easily set things up so that normal USB storage devices are
accepted by usb-storage and not ub, or the other way around.

The part that Pete tackled, arranging the preferences when the modules
_aren't_ loaded, is actually the harder part.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/