From owner-freebsd-scsi Wed May 9 0:20:13 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 0E2F337B422 for ; Wed, 9 May 2001 00:20:11 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id JAA14469 for freebsd-scsi@freebsd.org; Wed, 9 May 2001 09:20:09 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.3/8.11.3) id f497Bwr27407; Wed, 9 May 2001 09:11:58 +0200 (MET DST) (envelope-from j) Date: Wed, 9 May 2001 09:11:58 +0200 (MET DST) Message-Id: <200105090711.f497Bwr27407@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <200105051155.HAA22713@stage21.ureach.com> <200105072157.f47LvVs42257@jhs.muc.de> From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: Recovered data with positive head offset field replaceable unit msg X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Julian Stacey 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