summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/iscsiadm.814
-rw-r--r--usr/auth.c2
-rw-r--r--usr/initiator_common.c2
-rw-r--r--usr/netlink.c2
4 files changed, 10 insertions, 10 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
index 05793b2..64ef2e0 100644
--- a/doc/iscsiadm.8
+++ b/doc/iscsiadm.8
@@ -2,10 +2,10 @@
.SH NAME
iscsiadm \- open-iscsi administration utility
.SH SYNOPSIS
-\fBiscsiadm\fR \-m discoverydb [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-lD ] ] | [ [ -p ip:port -t type ] \
+\fBiscsiadm\fR \-m discoverydb [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-lD ] ] | [ [ \-p ip:port -t type ] \
[ \-o operation ] [ \-n name ] [ \-v value ] [ \-lD ] ]
-\fBiscsiadm\fR \-m discovery [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-l ] ] | [ [ -p ip:port ] [ \-l | \-D ] ]
+\fBiscsiadm\fR \-m discovery [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I iface \-t type \-p ip:port [ \-l ] ] | [ [ \-p ip:port ] [ \-l | \-D ] ]
\fBiscsiadm\fR \-m node [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-L all,manual,automatic ] [ \-U all,manual,automatic ] [ \-S ] [ [ \-T targetname \-p ip:port \-I iface ] [ \-l | \-u | \-R | \-s] ]
[ [ \-o operation ] [ \-n name ] [ \-v value ] [ \-p ip:port ] ]
@@ -70,15 +70,15 @@ Specify the submode for mode. op must be name of submode.
Currently iscsiadm support ping as submode for iface. For example,
-iscsiadm -m iface -I ifacename -C ping -a ipaddr -b packetsize -c count -i interval
+iscsiadm \-m iface \-I ifacename \-C ping \-a ipaddr \-b packetsize \-c count \-i interval
For host, it supports chap , flashnode and stats as submodes. For example,
-iscsiadm -m host -H hostno -C chap -x chap_tbl_idx -o operation
+iscsiadm \-m host \-H hostno \-C chap \-x chap_tbl_idx \-o operation
-iscsiadm -m host -H hostno -C flashnode -x flashnode_idx -o operation
+iscsiadm \-m host \-H hostno \-C flashnode \-x flashnode_idx \-o operation
-iscsiadm -m host -H hostno -C stats
+iscsiadm \-m host \-H hostno \-C stats
.TP
\fB\-d\fR, \fB\-\-debug=\fIdebug_level\fP
@@ -127,7 +127,7 @@ are experimental and the use is not supported as a stable interface yet.
In discovery mode multiple interfaces can be specified by passing in multiple
\-I/\-\-interface instances. For example,
-"iscsiadm \-m discoverydb \-t st \-p ip:port \-I iface0 \-I iface2 --discover"
+"iscsiadm \-m discoverydb \-t st \-p ip:port \-I iface0 \-I iface2 \-\-discover"
Will direct iscsiadm to setup the node db to create records which will create
sessions though the two intefaces passed in.
diff --git a/usr/auth.c b/usr/auth.c
index 1e72547..00b4388 100644
--- a/usr/auth.c
+++ b/usr/auth.c
@@ -2002,7 +2002,7 @@ acl_dbg_status_to_text(int dbg_status)
"AuthMethod negotiation failed",
"AuthMethod negotiated to none",
"CHAP algorithm negotiation failed",
- "CHAP challange reflected",
+ "CHAP challenge reflected",
"Local password same as remote",
"Local password not set",
"CHAP identifier bad",
diff --git a/usr/initiator_common.c b/usr/initiator_common.c
index e30e419..ee856b3 100644
--- a/usr/initiator_common.c
+++ b/usr/initiator_common.c
@@ -65,7 +65,7 @@ int iscsi_setup_authentication(struct iscsi_session *session,
if (auth_cfg->username_in[0] || auth_cfg->password_in_length) {
/* sanity check the config */
if (auth_cfg->password_length == 0) {
- log_warning("CHAP configuratoin has incoming "
+ log_warning("CHAP configuration has incoming "
"authentication credentials but has no "
"outgoing credentials configured.");
return EINVAL;
diff --git a/usr/netlink.c b/usr/netlink.c
index 57d4693..2b85efe 100644
--- a/usr/netlink.c
+++ b/usr/netlink.c
@@ -942,7 +942,7 @@ ktransport_ep_disconnect(iscsi_conn_t *conn)
iov[1].iov_len = sizeof(ev);
rc = __kipc_call(iov, 2);
if (rc < 0) {
- log_error("connnection %d:%d transport disconnect failed for "
+ log_error("connection %d:%d transport disconnect failed for "
"ep %" PRIu64 " with error %d.", conn->session->id,
conn->id, conn->transport_ep_handle, rc);
} else