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

Poul-Henning Kamp phk at FreeBSD.org
Tue Sep 28 15:00:42 PDT 2004


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)


More information about the cvs-src mailing list