Rick Jones wrote:
Is there any way at user level to force a virtual SCSI node to be dropped?
Failing that, any other ideas welcome.
I rmmod usb-storage && modprobe usb-storage.. That seems to force removal and re-detection of the hardware.
Same thing, 7 ATA hard disks and a single swapable usb2 enclosure.
Good suggestion - seems to work as a reasonable hack.
I've added rmmod to the "remove" condition in /etc/hotplug/usb.agent, which means that if there are no other devices plugged in, usb-storage gets shut down automatically. Next re-plug and everything fires up correctly.
Just need to make sure it's unmounted first - I tried to get the hotplug scripts to invoke the umount, but I can't see a way to identify the correct device or mount point :(
Guess that'll have to do until I can move to 2.6 kernel.
Thanks Rick
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
