Scstadmin now can create sessions, so update README

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-09-23 18:57:13 +00:00
parent 9d561a8b61
commit 2d9473d073

View File

@@ -55,8 +55,8 @@ Or for (3) you can:
echo "add_target scst_local_tgt session_name=scst_local_host" >/sys/kernel/scst_tgt/targets/scst_local//mgmt
echo "add vm_disk1 0" >/sys/kernel/scst_tgt/targets/scst_local/scst_local_tgt/luns/mgmt
Or instead of manually "add_device" in (2) and (3) write and scstadmin config
(doesn't create the session at the moment due to bug in scstadmin):
Or instead of manually "add_device" in (2) and step (3) write a
scstadmin config:
HANDLER vdisk_fileio {
DEVICE vm_disk1 {
@@ -66,7 +66,7 @@ HANDLER vdisk_fileio {
TARGET_DRIVER scst_local {
TARGET scst_local_tgt {
session_name=scst_local_host
session_name scst_local_host
LUN 0 vm_disk1
}