Here is a patch that adds a flag to struct scsi_device which prevents upper layer drivers from binding to it. This flag can be set by LLDs in their slave_configure routine. I plan to use this in the ipr driver so I can have scsi disks that are in RAID arrays show up in sysfs and have sg devices created for them, but prevent sd devices from being created since these devices will fail reads and writes with data protect errors. I tested this out with the ipr driver it worked as expected. -- Brian King eServer Storage I/O IBM Linux Technology Center