Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2001 09:11:58 +0200 (MET DST)
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-scsi@freebsd.org
Subject:   Re: Recovered data with positive head offset field replaceable unit msg
Message-ID:  <200105090711.f497Bwr27407@uriah.heep.sax.de>
References:  <pechter@ureach.com> <200105051155.HAA22713@stage21.ureach.com> <200105072157.f47LvVs42257@jhs.muc.de>

next in thread | previous in thread | raw e-mail | index | archive | help
"Julian Stacey Jhs@jhs.muc.de" <jhs@jhs.muc.de> wrote:

> I wrote a program that does that in ~87
>   http://bim.bsn.com/~jhs/src/bsd/jhs/bin/public/valid/valid.c &
>   valid.1 > (The recover part of the program's now larger
>   functionality runs > only on DOS though, not on Unix, as DOS
>   passes filled buffers back > even when read() returns CRC error,
>   whereas FreeBSD discards the > buffer content on error.

Arranging for a `read track' functionality in the FreeBSD floppy
driver should be possible.  This will return you the entire /bit/
contents of the track, no CRC checks &c.  Only the first sector ID
will be synchronized, the remainder of the track is returned as it
appears on the floppy; you need to manually bit-dealign and perhaps
bit-reverse the remaining data.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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