summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-03-13 14:33:10 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-03-13 14:33:10 +0000
commit54aea929e1b53dee06db0679c42d6629a5f294d9 (patch)
treed38110040de2ac456ab359fef5ed4505690b5901
parent4795ec860fea4b2a070b098b0ea96aeadde067bf (diff)
document the REQPROBE and REQDETACH ioctls so i can make claudios slides go
out of date. ok claudio@ deraadt@
-rw-r--r--share/man/man4/vscsi.415
1 files changed, 13 insertions, 2 deletions
diff --git a/share/man/man4/vscsi.4 b/share/man/man4/vscsi.4
index 0fec5f8d420..24c4a20d676 100644
--- a/share/man/man4/vscsi.4
+++ b/share/man/man4/vscsi.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vscsi.4,v 1.4 2009/11/16 16:53:56 sobrado Exp $
+.\" $OpenBSD: vscsi.4,v 1.5 2010/03/13 14:33:09 dlg Exp $
.\"
.\" Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 16 2009 $
+.Dd $Mdocdate: March 13 2010 $
.Dt VSCSI 4
.Os
.Sh NAME
@@ -88,6 +88,17 @@ struct vscsi_ioc_t2i {
size_t senselen;
};
.Ed
+.Pp
+.It VSCSI_REQPROBE (struct vscsi_ioc_devevent *)
+.It VSCSI_REQDETACH (struct vscsi_ioc_devevent *)
+Request a probe or a detach of the device at the addresses specified by the
+target and lun fields.
+.Bd -literal -offset indent
+struct vscsi_ioc_devevent {
+ u_int target;
+ u_int lun;
+};
+.Ed
.El
.Sh FILES
.Bl -tag -width /dev/vscsi0