diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-02-11 18:43:53 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2002-02-11 18:43:53 +0000 |
commit | 08be39f5bb2c3749f037ee6a116aec7656b0460b (patch) | |
tree | 94d8c274d8fb74b16780ae5b6e401c511d9f84d5 /sbin/scsi/scsi.8 | |
parent | 11661b37fd11040c9eb7ea938591fd8c371e7c9c (diff) |
Initial patch.
When you give command examples in a manual page prefix them with
$ command
or
# command
deraadt@ ok
Diffstat (limited to 'sbin/scsi/scsi.8')
-rw-r--r-- | sbin/scsi/scsi.8 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/scsi/scsi.8 b/sbin/scsi/scsi.8 index d4debd6294b..cc6ffe8512d 100644 --- a/sbin/scsi/scsi.8 +++ b/sbin/scsi/scsi.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: scsi.8,v 1.19 2001/08/20 05:57:55 mpech Exp $ +.\" $OpenBSD: scsi.8,v 1.20 2002/02/11 18:43:51 mpech Exp $ .\" $FreeBSD: scsi.8,v 1.5 1995/05/05 20:41:58 dufault Exp $ .\" .\" Written By Julian ELischer @@ -242,20 +242,20 @@ bytes of data input should be written to the standard output. To verify that the device type for the disk /dev/rsd0c is 0 (direct access device): .Bd -literal -offset -root# scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 64 "*b3 b5" +# 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: .Bd -literal -offset -root# scsi -f /dev/rsd2c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4" +# 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 drive (set AWRE and ARRE to 1 to enable bad block remapping): .Bd -literal -offset -root# scsi -f /dev/rsd2c -m 1 -e -P 3 +# scsi -f /dev/rsd2c -m 1 -e -P 3 .Ed .Sh ENVIRONMENT The |