On Wed, 2 May 2007, Scott Vlaminck wrote: > I was having this very same problem and the fix below worked for me > (but the actual path was > /sys/block/sda/device/scsi_disk:8:0:0:0/allow_restart ). I don't > really know much about the linux device model at all, so I'm not sure > if that's to be expected. > > However, if I unplug the drive and plug it in again, the value is set > back to 0 (and the device in the path above would be incremented to 9 > so the path would be ... /scsi_disk:9:0:0:0/allow_restart ). > > Is there a way to set this more generically for this drive? It seems > like I shouldn't need to do it every time I plug it in.
Read up on "udev" -- this is the sort of thing it can do for you. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel