From owner-cvs-src@FreeBSD.ORG Sun May 1 11:07:27 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4436916A4CE; Sun, 1 May 2005 11:07:27 +0000 (GMT) Received: from dd2626.kasserver.com (dd2626.kasserver.com [81.209.184.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FA1F43D1D; Sun, 1 May 2005 11:07:26 +0000 (GMT) (envelope-from outi@bytephobia.de) Received: from duality.bytephobia.de (pD958EB6D.dip.t-dialin.net [217.88.235.109]) by dd2626.kasserver.com (Postfix) with ESMTP id 965EEC9B41; Sun, 1 May 2005 13:07:24 +0200 (CEST) Date: Sun, 1 May 2005 13:10:21 +0200 From: Patrick Hurrelmann To: Poul-Henning Kamp Message-Id: <20050501131021.49bdfb7d.outi@bytephobia.de> In-Reply-To: <200409282200.i8SM015j016818@repoman.freebsd.org> References: <200409282200.i8SM015j016818@repoman.freebsd.org> X-Mailer: Sylpheed version 1.9.9 (GTK+ 2.6.7; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/tools/recoverdisk Makefile README recoverdisk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 11:07:27 -0000 On Tue, 28 Sep 2004 22:00:01 +0000 (UTC) Poul-Henning Kamp 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 / \