You could add usb-storage to /etc/hotplug/blacklist. That will stop hotplug from loading it (ever).
On Mon, 6 Oct 2003, G. Del Merritt wrote: > I have a device that I want to handle specially. While it advertises > usb-storage capabilities (and PTP), I do NOT want the kernel (or the > hotplug system) to try to mount it as a filesystem. I just want "raw" > access enabled. > > More details: > > I have already tweaked my /etc/hotplug/usb.usermap to do my own > device-specific startup. But I still get this in my /var/log/messages: > > kernel: sym53c875-0-<0,*>: FAST-20 WIDE SCSI 40.0 MB/s (50.0 ns, offset 15) > kernel: Device not ready. Make sure there is a disc in the drive. > kernel: sdb : READ CAPACITY failed. > kernel: sdb : status = 1, message = 00, host = 0, driver = 08 > kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready > kernel: sdb : block size assumed to be 512 bytes, disk size 1GB. > kernel: sdb: I/O error: dev 08:10, sector 0 > kernel: I/O error: dev 08:10, sector 0 > kernel: unable to read partition table > > I don't want the kernel to even bother trying. Honest. I'm running RedHat > 9 with what appears to be a fairly recent version of usb and hotplug; I > keep the system "up2date". > > I think this is more of a "users" question than a "devel" question since I > have no interest in hacking the kernel itself or libusb or changing > hotplug; instead, as a "user", I just don't want this USB device to get > autodetected as being mountable as filesystem, and I'm happy to edit the > config files as needed if that's sufficient. Of course, if there's no way > to do that, I could see this as a "devel" question. > > -Del > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
