- SysfsRules file added
[mirror/scst/.git] / iscsi-scst / README_in-tree
index 6d4f60b..5d86a90 100644 (file)
@@ -83,7 +83,7 @@ which attributes it should save in the config file. You can ignore it.
 
 Each target subdirectory contains the following entries:
 
- - ini_group - subdirectory defining initiator groups for this target,
+ - ini_groups - subdirectory defining initiator groups for this target,
    used to define per-initiator access control. See SCST core README for
    more details.
 
@@ -238,9 +238,9 @@ echo "32" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/QueuedCo
 echo "add disk2 0" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/luns/mgmt
 echo "add nullio 26" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/luns/mgmt
 
-echo "create special_ini" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_group/mgmt
-echo "add blockio 0 read_only=1" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_group/special_ini/luns/mgmt
-echo "add iqn.2005-03.org.open-iscsi:cacdcd2520" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_group/special_ini/initiators/mgmt
+echo "create special_ini" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_groups/mgmt
+echo "add blockio 0 read_only=1" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_groups/special_ini/luns/mgmt
+echo "add iqn.2005-03.org.open-iscsi:cacdcd2520" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_groups/special_ini/initiators/mgmt
 
 echo 1 >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt/enabled
 echo 1 >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/enabled
@@ -255,7 +255,7 @@ both iSCSI-SCST targets will look like:
 |   |-- blockio
 |   |   |-- blocksize
 |   |   |-- exported
-|   |   |   `-- export0 -> ../../../targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_group/special_ini/luns/0
+|   |   |   `-- export0 -> ../../../targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ini_groups/special_ini/luns/0
 |   |   |-- filename
 |   |   |-- handler -> ../../handlers/vdisk_blockio
 |   |   |-- read_only
@@ -365,7 +365,7 @@ both iSCSI-SCST targets will look like:
 |       |   |-- MaxXmitDataSegmentLength
 |       |   |-- QueuedCommands
 |       |   |-- enabled
-|       |   |-- ini_group
+|       |   |-- ini_groups
 |       |   |   `-- mgmt
 |       |   |-- luns
 |       |   |   |-- 0
@@ -414,7 +414,7 @@ both iSCSI-SCST targets will look like:
 |       |   |-- OutgoingUser
 |       |   |-- QueuedCommands
 |       |   |-- enabled
-|       |   |-- ini_group
+|       |   |-- ini_groups
 |       |   |   |-- mgmt
 |       |   |   `-- special_ini
 |       |   |       |-- initiators
@@ -453,7 +453,7 @@ both iSCSI-SCST targets will look like:
 |       |   |       |-- commands
 |       |   |       |-- force_close
 |       |   |       |-- initiator_name
-|       |   |       |-- luns -> ../../ini_group/special_ini/luns
+|       |   |       |-- luns -> ../../ini_groups/special_ini/luns
 |       |   |       |-- reinstating
 |       |   |       `-- sid
 |       |   `-- tid