On Fri, 1 Sep 2006, Rodolfo Giometti wrote:

> On Thu, Aug 31, 2006 at 10:34:51AM -0400, Alan Stern wrote:
> > 
> > Not if the USB ports lose power during the suspend.  That's equivalent to 
> > keeping your rootfs on a USB key and then unplugging the key.  It just 
> > won't work.
> 
> Ok, I see. So the devices must be re-enumerated, but in this situation
> the solution may be in modifying the usb-storage. It should know when
> we are resuming the system and it may try to reassign the USB key to
> sda instead of sdb. It could be acceptable?

I don't understand what you are asking.

usb-storage _does_ know when the system is resuming.  It does not assign 
device names (sda, sdb, etc.) -- the SCSI disk driver does that.  
Remember, usb-storage handles all sorts of mass-storage devices, not just 
disks or flash memories.

Also, isn't this exactly what happens now?  If you leave a USB key plugged 
in as /dev/sda and mounted, then suspend and resume, don't you find the 
key has moved to /dev/sdb?  So what do you want to change?

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to