summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol/camcontrol.8
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>1998-12-20 18:51:56 +0000
committermjacob <mjacob@FreeBSD.org>1998-12-20 18:51:56 +0000
commite6b2429a95849c13226e0f16d5b44179855c75b3 (patch)
tree4f592173256874fe66fec9770017d4a2d477e409 /sbin/camcontrol/camcontrol.8
parentcbf08b2af854f6a9b4247615725447f1ecc3ee65 (diff)
downloadFreeBSD-src-e6b2429a95849c13226e0f16d5b44179855c75b3.zip
FreeBSD-src-e6b2429a95849c13226e0f16d5b44179855c75b3.tar.gz
add Bus and Device Reset commands
Diffstat (limited to 'sbin/camcontrol/camcontrol.8')
-rw-r--r--sbin/camcontrol/camcontrol.811
1 files changed, 10 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.8 b/sbin/camcontrol/camcontrol.8
index cb77793..1ab0f8f 100644
--- a/sbin/camcontrol/camcontrol.8
+++ b/sbin/camcontrol/camcontrol.8
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: camcontrol.8,v 1.7 1998/10/06 00:32:58 ken Exp $
+.\" $Id: camcontrol.8,v 1.8 1998/12/02 22:42:36 billf Exp $
.\"
.Dd September 14, 1998
.Dt CAMCONTROL 8
@@ -67,6 +67,9 @@ eject
rescan
.Aq bus Ns Op :target:lun
.Nm camcontrol
+reset
+.Aq bus Ns Op :target:lun
+.Nm camcontrol
defects
.Op generic args
.Aq Fl f Ar format
@@ -184,6 +187,12 @@ Tell the kernel to scan the given bus (XPT_SCAN_BUS), or bus:target:lun
(XPT_SCAN_LUN) for new devices or devices that have gone away. The user
may only specify a bus to scan, or a lun. Scanning all luns on a target
isn't supported.
+.It reset
+Tell the kernel to reset the given bus (XPT_RESET_BUS) by issuing a SCSI bus
+reset for that bus, or to reset the given bus:target:lun
+(XPT_RESET_DEV), typically by issuing a BUS DEVICE RESET message after
+connecting to that device. Note that this can have a destructive impact
+on the system.
.It defects
Send the SCSI READ DEFECT DATA (10) command (0x37) to the given device, and
print out any combination of: the total number of defects, the primary
OpenPOWER on IntegriCloud