summaryrefslogtreecommitdiffstats
path: root/usr.bin/iscsictl/iscsictl.8
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2013-11-02 02:38:32 +0000
committertrasz <trasz@FreeBSD.org>2013-11-02 02:38:32 +0000
commitbaae40831df2ab7a71d9ed4b37cd15e07eb04ab2 (patch)
treea6a9aa9fa28a0603aa3085febf9959d860460a25 /usr.bin/iscsictl/iscsictl.8
parent45a606d1102ff82798f3f84d55b9a225a951edff (diff)
downloadFreeBSD-src-baae40831df2ab7a71d9ed4b37cd15e07eb04ab2.zip
FreeBSD-src-baae40831df2ab7a71d9ed4b37cd15e07eb04ab2.tar.gz
MFC r257379:
Rename '-h' option to '-p', and use "portal" instead of "host" or "address", in order to be consistent with iSCSI terminology. Besides, calling the option '-h' was just wrong. This changes usage for newly added iscsictl(8), and two newly added subcommands to ctladm(8). This breaks POLA between CURRENT and 10, but since 10.0 has not been released yet, it's still ok to do. MFC r257380: Bump .Dd after r257379. Approved by: re (glebius) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/iscsictl/iscsictl.8')
-rw-r--r--usr.bin/iscsictl/iscsictl.812
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/iscsictl/iscsictl.8 b/usr.bin/iscsictl/iscsictl.8
index 03525df..cb2f2cc 100644
--- a/usr.bin/iscsictl/iscsictl.8
+++ b/usr.bin/iscsictl/iscsictl.8
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 20, 2012
+.Dd October 30, 2013
.Dt ISCSICTL 8
.Os
.Sh NAME
@@ -36,7 +36,7 @@
.Sh SYNOPSIS
.Nm
.Fl A
-.Fl h Ar host Fl t Ar target Op Fl u Ar user Fl s Ar secret
+.Fl p Ar portal Fl t Ar target Op Fl u Ar user Fl s Ar secret
.Nm
.Fl A
.Fl d Ar discovery-host Op Fl u Ar user Fl s Ar secret
@@ -48,7 +48,7 @@
.Fl n Ar nickname Op Fl c Ar path
.Nm
.Fl R
-.Op Fl h Ar host
+.Op Fl p Ar portal
.Op Fl t Ar target
.Nm
.Fl R
@@ -84,10 +84,10 @@ Target host name or address used for SendTargets discovery.
When used, it will add a temporary discovery session.
After discovery is done, sessions will be added for each discovered target,
and the temporary discovery sesion will be removed.
-.It Fl h
-Target host name or address for statically defined targets.
.It Fl n
The "nickname" of session defined in the configuration file.
+.It Fl p
+Target portal - host name or address - for statically defined targets.
.It Fl t
Target name.
.It Fl v
@@ -133,7 +133,7 @@ The
utility exits 0 on success, and >0 if an error occurs.
.Sh EXAMPLES
Attach to target qn.2012-06.com.example:target0, served by 192.168.1.1:
-.Dl Nm Fl A Fl t Ar qn.2012-06.com.example:target0 Fl h Ar 192.168.1.1
+.Dl Nm Fl A Fl t Ar qn.2012-06.com.example:target0 Fl p Ar 192.168.1.1
.Pp
Disconnect all iSCSI sessions:
.Dl Nm Fl Ra
OpenPOWER on IntegriCloud