Subject: Re: Turning SCSI drive sector remapping on; how do you do it?
To: None <current-users@NetBSD.ORG>
From: Marc Unangst <mju@cs.cmu.edu>
List: current-users
Date: 07/23/1995 01:18:57
osymh@gemini.oscs.montana.edu (Michael L. Hitch) writes:
>  Build a SCSI command to tell the drive to reassign the block and
>send the command to the SCSI driver using the SCIOCCOMMAND ioctl.

This is not intended as an insult to you, Michael, but if this is the
only way to remap a block under NetBSD there is something very wrong.
No one (except perhaps the person who wrote the SCSI driver) should be
expected to know how to construct a SCSI command in order to do
something as simple as remap a bad block.  Perhaps bad144 be adapted
to work with SCSI disks?

(How does bad144 work, anyway?  The manpage talks about DEC disk packs
and Fujitsu Eagles, neither of which is particularly relevant to your
average NetBSD user, who likely as not has either a SCSI or IDE disk
on their system.)

-Marc