summaryrefslogtreecommitdiff
path: root/sbin/scsi
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-02-13 08:23:41 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-02-13 08:23:41 +0000
commit758d7aef4eb82dc23456f63581fd2b3ea0243998 (patch)
treee8c1406566f29db21c83c9eac798933f58b56518 /sbin/scsi
parent699bf6a3d57da544493eb91a112f42c5a9116c74 (diff)
typos;
setextattr(8): example markus@ spamd(8): someone else found some of these on bugs/misc, but for the life of me i can't find out who pf.conf(5): from openbsd@davidkrause.com raidctl(8): from ian@darwinsys.com
Diffstat (limited to 'sbin/scsi')
-rw-r--r--sbin/scsi/scsi.825
1 files changed, 17 insertions, 8 deletions
diff --git a/sbin/scsi/scsi.8 b/sbin/scsi/scsi.8
index cc6ffe8512d..f1d57fea77c 100644
--- a/sbin/scsi/scsi.8
+++ b/sbin/scsi/scsi.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scsi.8,v 1.20 2002/02/11 18:43:51 mpech Exp $
+.\" $OpenBSD: scsi.8,v 1.21 2003/02/13 08:23:39 jmc Exp $
.\" $FreeBSD: scsi.8,v 1.5 1995/05/05 20:41:58 dufault Exp $
.\"
.\" Written By Julian ELischer
@@ -155,10 +155,14 @@ to probe all devices with a given SCSI
on a given SCSI bus.
The
.Ar bus
-can be selected with the -b option and the default is 0.
+can be selected with the
+.Fl b
+option and the default is 0.
The
.Ar lun
-can be selected with the -l option and the default is 0.
+can be selected with the
+.Fl l
+option and the default is 0.
See
.Xr scsi 4
for a description of the "super scsi" device.
@@ -217,7 +221,7 @@ using the provided arguments to fill in any integer variables.
.Ar out_fmt
can be specified as a hyphen
.Pq Ql -
-to indicate that the
+to indicate that
.Ar count
bytes of data should be read from the standard input.
.Pp
@@ -234,25 +238,30 @@ and displayed on the standard output.
.Ar in_fmt
can be specified as a hyphen
.Pq Ql -
-to indicate that the
+to indicate that
.Ar count
bytes of data input should be written to the standard output.
.El
.Sh EXAMPLES
-To verify that the device type for the disk /dev/rsd0c is 0
+To verify that the device type for the disk
+.Pa /dev/rsd0c
+is 0
(direct access device):
.Bd -literal -offset
# scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 64 "*b3 b5"
0
.Ed
.Pp
-To do an inquiry to /dev/rsd2c:
+To do an inquiry to
+.Pa /dev/rsd2c :
.Bd -literal -offset
# scsi -f /dev/rsd2c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4"
FUJITSU M2654S-512 010P
.Ed
.Pp
-To edit mode page 1 on /dev/rsd2c and store it permanently on the
+To edit mode page 1 on
+.Pa /dev/rsd2c
+and store it permanently on the
drive (set AWRE and ARRE to 1 to enable bad block remapping):
.Bd -literal -offset
# scsi -f /dev/rsd2c -m 1 -e -P 3