Comment 4 for bug 193154

Revision history for this message
Jonathan Rascher (bcat) wrote :

Double oops. It turns out that the last udev rule I posted doesn't always work. I can't figure out why that is, but here's a simpler rule that seems to work all of the time.

# Set the allow_restart flag for all SCSI disks.
ACTION=="add", \
SUBSYSTEM=="scsi_disk", \
ATTR{allow_restart}="1"

(Note that this sets allow_restart for all scsi_disk devices, not just those created by the usb-storage driver. I don't think that's a problem, though.)