On Thu, Feb 09, 2006 at 12:02:25PM -0700, Matthew Wilcox wrote: > On Thu, Feb 09, 2006 at 12:04:07PM -0500, Ming Zhang wrote: > > We are adding the support for an OSS iscsi target to support export an > > iscsi disk as readonly. We set correct read only bit in sense dbd. But > > we found that only when we set the removable bit, the linux will > > actually check the ro bit. more detail information can be found from > > Surely all iSCSI discs are removable, since anyone could unplug the > network cable at any time ... The removable flags means a removeable medium. All devices are treated as beeing able to just go away when the transport is disconnected or the HBA removed. - : 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