summaryrefslogtreecommitdiff
path: root/sbin/scsi
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-03 13:16:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-03 13:16:10 +0000
commit2cf124e6dbd711198131ac89dd8f98ef5f8deb65 (patch)
tree343fc85b04718144a27f11799b2a1d87ee255ab2 /sbin/scsi
parent5f6a2902bcfd03976baf4360e5a1ea749a4d0700 (diff)
- section reorder
- some mdoc fixes
Diffstat (limited to 'sbin/scsi')
-rw-r--r--sbin/scsi/scsi.856
1 files changed, 28 insertions, 28 deletions
diff --git a/sbin/scsi/scsi.8 b/sbin/scsi/scsi.8
index 75ec8f89439..9d8c6cc0d3a 100644
--- a/sbin/scsi/scsi.8
+++ b/sbin/scsi/scsi.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scsi.8,v 1.22 2003/04/30 11:58:49 jmc Exp $
+.\" $OpenBSD: scsi.8,v 1.23 2003/06/03 13:16:09 jmc Exp $
.\" $FreeBSD: scsi.8,v 1.5 1995/05/05 20:41:58 dufault Exp $
.\"
.\" Written By Julian ELischer
@@ -242,6 +242,28 @@ to indicate that
.Ar count
bytes of data input should be written to the standard output.
.El
+.Sh ENVIRONMENT
+The
+.Ev SU_DEBUG_OUTPUT
+variable can be set to a file to send debugging
+output to that file.
+.Pp
+The
+.Ev SU_DEBUG_LEVEL
+variable can be set to a non-zero integer to increase
+the level of debugging.
+Currently this is an on or off thing; it should
+perhaps use the ioctl to set the debug level in the kernel and then set
+it back to zero at program exit.
+.Pp
+The
+.Ev SU_DEBUG_TRUNCATE
+variable can be set to an integer to limit the
+amount of data phase output sent to the debugging file.
+.Pp
+The
+.Ev EDITOR
+variable determines the editor to use for the mode editor.
.Sh EXAMPLES
To verify that the device type for the disk
.Pa /dev/rsd0c
@@ -266,31 +288,14 @@ drive (set AWRE and ARRE to 1 to enable bad block remapping):
.Bd -literal -offset
# scsi -f /dev/rsd2c -m 1 -e -P 3
.Ed
-.Sh ENVIRONMENT
-The
-.Ev SU_DEBUG_OUTPUT
-variable can be set to a file to send debugging
-output to that file.
-.Pp
-The
-.Ev SU_DEBUG_LEVEL
-variable can be set to a non-zero integer to increase
-the level of debugging.
-Currently this is an on or off thing; it should
-perhaps use the ioctl to set the debug level in the kernel and then set
-it back to zero at program exit.
-.Pp
-The
-.Ev SU_DEBUG_TRUNCATE
-variable can be set to an integer to limit the
-amount of data phase output sent to the debugging file.
-.Pp
-The
-.Ev EDITOR
-variable determines the editor to use for the mode editor.
.Sh SEE ALSO
.Xr scsi 3 ,
.Xr scsi 4
+.Sh HISTORY
+The
+.Nm
+command appeared in 386BSD 0.1.2.4/FreeBSD to support the new reprobe
+and user SCSI commands.
.Sh BUGS
Some devices respond to an inquiry for all LUNS.
This will cause them
@@ -298,8 +303,3 @@ to come on line to 8 times during reprobe to different logical units.
"scsi -f /dev/rsd0c -c "4 0 0 0 0 0" permits anyone who can write to
.Pa /dev/rsd0c
to format the disk drive.
-.Sh HISTORY
-The
-.Nm
-command appeared in 386BSD 0.1.2.4/FreeBSD to support the new reprobe
-and user SCSI commands.