From owner-freebsd-hackers Wed May 9 22:23:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp-2.enteract.com (smtp-2.enteract.com [207.229.143.4]) by hub.freebsd.org (Postfix) with ESMTP id 1DAF937B422 for ; Wed, 9 May 2001 22:23:45 -0700 (PDT) (envelope-from dscheidt@tumbolia.com) Received: from shell-2.enteract.com (shell-2.enteract.com [207.229.143.41]) by smtp-2.enteract.com (Postfix) with ESMTP id 402345E59; Thu, 10 May 2001 00:23:44 -0500 (CDT) Date: Thu, 10 May 2001 00:23:43 -0500 (CDT) From: David Scheidt X-Sender: dscheidt@shell-2.enteract.com To: Luigi Rizzo Cc: "Brian W. Buchanan" , hackers@FreeBSD.ORG Subject: Re: fd driver hacking to recover data In-Reply-To: <200105100507.HAA43359@info.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 10 May 2001, Luigi Rizzo wrote: :> I have a bunch of old floppy disks with some text files I'd like to :> recover. Many of them have errors and are unreadable past a certain point :> in the disk. Others I can't read from at all. :> :> The ones I can't read, period, are all 1.44MB-size floppies. I've tried :> dd'ing from /dev/fd0c, /dev/fd0.1440, etc., but exits with "Input/Output :> Error" before copying anything. : :i think you can try dd from the raw device (/dev/rfd) using the "iseek" :or "skip" option to jump over the missing sectors. :Alternatively, you can use "conv=noerror,sync" to keep reading :after errors (the bad blocks are NUL-filled) Depending on how the disks are flakey, you may be able to read the bad blocks some of the time. Multiple passes with dd, and combining the results by hand may be worth trying, as might be different floppy drives. David -- dscheidt@tumbolia.com Bipedalism is only a fad. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message