Found a small problem with scsi_debug while playing with rescan-scsi-bus.sh . This patch is against Mike Anderson's scsi hosts sysfs patchset (since that version has my most recent scsi_debug changes). Doug Gilbert