It is not necessary to restrict run-time configuration of sd's allow_restart attribute to SBC disks. Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> --- Index: linux-2.6.19-rc6/drivers/scsi/sd.c =================================================================== --- linux-2.6.19-rc6.orig/drivers/scsi/sd.c 2006-10-10 18:18:45.000000000 +0200 +++ linux-2.6.19-rc6/drivers/scsi/sd.c 2006-11-21 21:15:10.000000000 +0100 @@ -216,9 +216,6 @@ static ssize_t sd_store_allow_restart(st if (!capable(CAP_SYS_ADMIN)) return -EACCES; - if (sdp->type != TYPE_DISK) - return -EINVAL; - sdp->allow_restart = simple_strtoul(buf, NULL, 10); return count; - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html