summaryrefslogtreecommitdiff
path: root/usr.sbin/iscsictl
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-09-24 12:31:36 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-09-24 12:31:36 +0000
commit68ae333d52f4de2b625d11575d5147bab26b9c1c (patch)
tree2e3d452bb9c9e34c0c3341366d5f0bf6daf6789e /usr.sbin/iscsictl
parent8895313fd9ccba78c0d098afabc09b2e0ef52be3 (diff)
basic manpage for iscsictl. we wont do an iscsi.conf manpage until the
syntax has settled down.
Diffstat (limited to 'usr.sbin/iscsictl')
-rw-r--r--usr.sbin/iscsictl/Makefile4
-rw-r--r--usr.sbin/iscsictl/iscsictl.866
2 files changed, 68 insertions, 2 deletions
diff --git a/usr.sbin/iscsictl/Makefile b/usr.sbin/iscsictl/Makefile
index bbf1468843a..f85561ef494 100644
--- a/usr.sbin/iscsictl/Makefile
+++ b/usr.sbin/iscsictl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2010/09/24 09:45:17 claudio Exp $
+# $OpenBSD: Makefile,v 1.2 2010/09/24 12:31:35 dlg Exp $
.PATH: ${.CURDIR}/../iscsid
@@ -6,7 +6,7 @@ PROG= iscsictl
SRCS= iscsictl.c parse.y parser.c
SRCS+= util.c
-MAN=
+MAN= iscsictl.8
CFLAGS+= -Wall -Werror
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
diff --git a/usr.sbin/iscsictl/iscsictl.8 b/usr.sbin/iscsictl/iscsictl.8
new file mode 100644
index 00000000000..d774813fc54
--- /dev/null
+++ b/usr.sbin/iscsictl/iscsictl.8
@@ -0,0 +1,66 @@
+.\" $OpenBSD: iscsictl.8,v 1.1 2010/09/24 12:31:35 dlg Exp $
+.\"
+.\" Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: September 24 2010 $
+.Dt ISCSICTL 8
+.Os
+.Sh NAME
+.Nm iscsictl
+.Nd control the Internet SCSI (iSCSI) daemon
+.Sh SYNOPSIS
+.Nm
+.Op Fl s Ar socket
+.Ar command
+.Op Ar argument ...
+.Sh DESCRIPTION
+The
+.Nm
+program controls the
+.Xr iscsid 8
+daemon.
+Commands may be abbreviated to the minimum unambiguous prefix.
+.Pp
+The following options are available:
+.Bl -tag -width Ds
+.It Fl s Ar socket
+Use
+.Ar socket
+instead of the default
+.Pa /var/run/iscsid.sock
+to communicate with
+.Xr iscsid 8 .
+.El
+.Pp
+The following commands are available:
+.Bl -tag -width Ds
+.It Cm reload
+Reload the configuration file.
+.El
+.Sh FILES
+.Bl -tag -width "/var/run/iscsid.sockXX" -compact
+.It /var/run/iscsid.sock
+.Ux Ns -domain
+socket used for communication with
+.Xr iscsid 8 .
+.El
+.Sh SEE ALSO
+.Xr iscsi.conf 5 ,
+.Xr iscsid 8
+.Sh HISTORY
+The
+.Nm
+program first appeared in
+.Ox 4.9 .