Inhibit auto-attach of scsi disks ?

Scott Merritt
2002-10-01T20:18:19Z

> patmans@us.ibm.com said:
> use of the block device (i.e. dd if=/dev/sda), and probably others.

I've noticed (at least in LK 2.4.19) that the scsi system will automatically "attach" any scsi disk-type device that it finds while scanning the scsi bus for new devices. This includes issuing read capacity commands and attempting to read and parse that device's partition table.

I was wondering if there has been any discussion of a method/option by which a user could inhibit the automatic attachment of disk units ? This might be desired if the users intent was to reformat, repartition, or perform other low-level activities.

Thanks, Scott.