This is a update of the previous patch posted by Ronnie to allow setting a lun to readonly. Archive url list below. http://markmail.org/message/q2xde2oplw7u4n6g In the archive there was discussion about per initiator readonly acl attributes. The dual target example in email from Ronnie provided an alternative using this patch that could address the readonly / rw initiator group access in some usage models. V1: - Updated patch against recent tree. - Removed the tgtadm PARAMETERS section change. - Moved device_type check from spc to sbc based on comments from Ronnie. (1): tgt: Add a new device parameter "readonly={0|1}" doc/tgtadm.8.xml | 16 ++++++++++++++++ usr/sbc.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- usr/spc.c | 8 +++++++- usr/target.c | 2 ++ usr/tgtd.h | 1 + 5 files changed, 68 insertions(+), 3 deletions(-) -- -andmike Michael Anderson <andmike@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html