From owner-freebsd-hackers Wed May 9 22:36:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from thought.adamantsys.com (w120.z064002057.sjc-ca.dsl.cnc.net [64.2.57.120]) by hub.freebsd.org (Postfix) with ESMTP id 53DA337B423 for ; Wed, 9 May 2001 22:36:09 -0700 (PDT) (envelope-from brian@CSUA.Berkeley.EDU) Received: from localhost (localhost [127.0.0.1]) by thought.adamantsys.com (8.11.2/8.11.2) with ESMTP id f4A5aks03716 for ; Wed, 9 May 2001 22:36:46 -0700 (PDT) (envelope-from brian@CSUA.Berkeley.EDU) Date: Wed, 9 May 2001 22:36:46 -0700 (PDT) From: "Brian W. Buchanan" X-Sender: brian@thought.adamantsys.com To: 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) Okay, this works for the disks with errors in the middle of them. Thanks! Reading from the raw devices unfortunately doesn't get me any farther with the high density disks. -- Brian Buchanan brian@CSUA.Berkeley.EDU -------------------------------------------------------------------------- FreeBSD - The Power to Serve! http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message