From 68ae333d52f4de2b625d11575d5147bab26b9c1c Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Fri, 24 Sep 2010 12:31:36 +0000 Subject: basic manpage for iscsictl. we wont do an iscsi.conf manpage until the syntax has settled down. --- usr.sbin/iscsictl/Makefile | 4 +-- usr.sbin/iscsictl/iscsictl.8 | 66 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 usr.sbin/iscsictl/iscsictl.8 (limited to 'usr.sbin') 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 +.\" +.\" 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 . -- cgit v1.2.3