From owner-cvs-src@FreeBSD.ORG Tue Sep 28 22:00:42 2004 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 4516716A4CF; Tue, 28 Sep 2004 22:00:42 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F5F743D31; Tue, 28 Sep 2004 22:00:01 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8SM01G1016819; Tue, 28 Sep 2004 22:00:01 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8SM015j016818; Tue, 28 Sep 2004 22:00:01 GMT (envelope-from phk) Message-Id: <200409282200.i8SM015j016818@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 28 Sep 2004 22:00:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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: Tue, 28 Sep 2004 22:00:42 -0000 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)