Date: Sun, 1 May 2005 13:10:21 +0200 From: Patrick Hurrelmann <outi@bytephobia.de> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/tools/recoverdisk Makefile README recoverdisk.c Message-ID: <20050501131021.49bdfb7d.outi@bytephobia.de> In-Reply-To: <200409282200.i8SM015j016818@repoman.freebsd.org> References: <200409282200.i8SM015j016818@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Sep 2004 22:00:01 +0000 (UTC) Poul-Henning Kamp <phk@FreeBSD.org> wrote: > phk 2004-09-28 22:00:01 UTC > > FreeBSD src repository > > Added files: > tools/tools/recoverdisk Makefile README recoverdisk.c > Log: > This is a small tool which will read an entire disk(partition) using > 1M blocks and optionally write the read data to a file or disk. > > If a read error happens, the 1M block gets put on the end of the > worklist and will be retried with 64k blocksize. > > If a read error happens again, the 64k block gets put at the end of > the worklist and will be retried with single sector reads. > > The program keeps trying until you stop it. > > You can refresh a disk: > > recoverdisk /dev/ad1 /dev/ad1 > > or salvage a floppy: > > recoverdisk /dev/fd0 myfloppy.flp > > Revision Changes Path > 1.1 +12 -0 src/tools/tools/recoverdisk/Makefile (new) > 1.1 +21 -0 src/tools/tools/recoverdisk/README (new) > 1.1 +137 -0 src/tools/tools/recoverdisk/recoverdisk.c (new) Hi Poul-Henning, is it possbile to mfc recoverdisk to RELENG_5? It proved to be VERY helpful to me this week :) Maybe this small tool can actually go into 5.4-RELEASE as it has been delayed and doesn't seem to be an invasive change? Patrick -- ==================================================================== Patrick Hurrelmann | "Programming today is a race between software Mannheim, Germany | engineers striving to build bigger and better | idiot-proof programs, and the Universe trying outi@bytephobia.de | to produce bigger and better idiots. So far, www.bytephobia.de | the Universe is winning." - Rich Cook /"\ \ / ASCII Ribbon Campaign X against HTML email & vCards / \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050501131021.49bdfb7d.outi>