summaryrefslogtreecommitdiff
path: root/sbin/bioctl/bioctl.8
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/bioctl/bioctl.8')
-rw-r--r--sbin/bioctl/bioctl.855
1 files changed, 39 insertions, 16 deletions
diff --git a/sbin/bioctl/bioctl.8 b/sbin/bioctl/bioctl.8
index 0368ac2eabf..d6941144000 100644
--- a/sbin/bioctl/bioctl.8
+++ b/sbin/bioctl/bioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bioctl.8,v 1.11 2005/07/18 14:34:41 jmc Exp $
+.\" $OpenBSD: bioctl.8,v 1.12 2005/07/18 15:10:56 dlg Exp $
.\"
.\" Copyright (c) 2004, 2005 Marco Peereboom
.\"
@@ -32,9 +32,12 @@
.Sh SYNOPSIS
.Nm bioctl
.Bk -words
-.Op Fl Dhi
-.Fl d Ar device |
-.Fl f Ar device
+.Op Fl Dehpt
+.Op Fl a Ar function
+.Op Fl b Ar function
+.Op Fl l Ar device-list
+.Op Fl u Ar function
+.Fl d Ar device
.Ek
.Sh DESCRIPTION
.Nm
@@ -42,25 +45,45 @@ provides a generic interface for RAID management.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl a Ar function
+Get or set alarm state.
+Supported functions are: silence/quiet, enable, disable, get, and test.
+Or use the first letter of the function.
+.It Fl b Ar function
+Blink or unblink hard drive LED, if supported by the enclosure.
+Supported functions are: blink, alarm (fault LED) and unblink.
+Or use the first letter of the function.
.It Fl D
Enable debug output.
.It Fl d Ar device
-Select the RAID controller e.g. ami0.
-Use this option for controller operations that impact all disk devices.
-.It Fl f Ar device
-Select the RAID disk e.g. sd0.
+Select RAID controller e.g ami0.
+Use the -d option for controller operations.
+.It Fl e
+Enumerate drives.
+.It Fl f Ar disk
+Select disk device e.g sd0.
+Use the -f option for disk operations.
+Either -f or -d must be selected.
.It Fl h
Online help.
-.It Fl i
-Depending on whether the
-.Fl d
-or
-.Fl f
-option was selected,
-enumerate all or only the selected RAID device(s).
+.It Fl l Ar device-list
+Device list to what the operation/function applies to.
+The format is channel:target,channel:target etc. e.g. 0:1,1:3
+.It Fl p
+Verify that adapter accepts bioctl commands.
+This is a sort of a "device ping".
+.It Fl t
+Issue a pass-through function to
+.Aq device-list .
+Supported functions are:
+read capacity, inquiry, and test unit ready (TUR).
+Or use the first letter of the function name.
+.It Fl u Ar function
+Start or stop physical disk.
+Supported functions are: go and stop.
+Or use the first letter of the function.
.El
.Sh SEE ALSO
-.Xr ami 4 ,
.Xr bio 4 ,
.Xr scsi 4
.Sh HISTORY