You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lxbsz Thanks for you advice, I implemented it and worked. But I am not quite familiar with iSCSI protocol and 'mode sense control page', I didn't find how to implement it in handle_control_page(). At last, I set the SWP bit in the 'DEVICE-SPECIFIC PARAMETER' field in the 'mode parameter header'. I am not sure whether it is correct even thong it worked.
I need to mark a device write protected or not depending on what file is opened. But i didn't find an api to set the write protected bit in libtcmu.
The text was updated successfully, but these errors were encountered: