cvs commit: src/tools/tools/recoverdisk Makefile README recoverdisk.c

Patrick Hurrelmann outi at bytephobia.de
Sun May 1 04:07:27 PDT 2005


On Tue, 28 Sep 2004 22:00:01 +0000 (UTC)
Poul-Henning Kamp <phk at 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 at 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
                  / \


More information about the cvs-src mailing list