Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 1995 03:51:48 +0000 ()
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        julian@ref.tfs.com (Julian Elischer)
Cc:        msmith@atrad.adelaide.edu.au, hasty@rah.star-gate.com, hackers@FreeBSD.org
Subject:   Re: Help! I got a bad block....
Message-ID:  <199511220351.DAA24693@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199511220343.TAA07906@ref.tfs.com> from "Julian Elischer" at Nov 21, 95 07:43:30 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer stands accused of saying:
> 
> the drive will not forward the block if it thinks it can't recover the data

Ah.  I wasn't aware they were that paranoid about it - though that
certainly makes the most sense.

> There is code in the driver to order a single block to be forwarded..
> It's all there.. all it needs is to call the appropriate function from an
> ioctl. The only thing that was holding me back was the question of 
> which .h file should define the ioctl..?

scsi.h seems to be the obvious one.  I'd call it "badblock" and publicise it
as much as possible 8)

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 041-122-496        [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] "Who does BSD?" "We do Chucky, we do."                               [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511220351.DAA24693>