From 08be39f5bb2c3749f037ee6a116aec7656b0460b Mon Sep 17 00:00:00 2001 From: Mike Pechkin Date: Mon, 11 Feb 2002 18:43:53 +0000 Subject: Initial patch. When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok --- sbin/scsi/scsi.8 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin/scsi') 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 -- cgit v1.2.3