head	1.4;
access;
symbols
	RELENG_6_4_0_RELEASE:1.2.4.2
	RELENG_6_4:1.2.4.2.0.6
	RELENG_6_4_BP:1.2.4.2
	RELENG_6_3_0_RELEASE:1.2.4.2
	RELENG_6_3:1.2.4.2.0.4
	RELENG_6_3_BP:1.2.4.2
	RELENG_6_2_0_RELEASE:1.2.4.2
	RELENG_6_2:1.2.4.2.0.2
	RELENG_6_2_BP:1.2.4.2
	RELENG_5_5_0_RELEASE:1.2.2.1
	RELENG_5_5:1.2.2.1.0.2
	RELENG_5_5_BP:1.2.2.1
	RELENG_6_1_0_RELEASE:1.2.4.1
	RELENG_6_1:1.2.4.1.0.2
	RELENG_6_1_BP:1.2.4.1
	RELENG_6_0_0_RELEASE:1.2
	RELENG_6_0:1.2.0.6
	RELENG_6_0_BP:1.2
	RELENG_6:1.2.0.4
	RELENG_6_BP:1.2
	RELENG_5:1.2.0.2;
locks; strict;
comment	@# @;


1.4
date	2006.05.06.19.52.25;	author maxim;	state dead;
branches;
next	1.3;

1.3
date	2005.08.29.23.08.01;	author sobomax;	state Exp;
branches;
next	1.2;

1.2
date	2005.02.07.11.26.53;	author obrien;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2004.09.28.22.00.01;	author phk;	state Exp;
branches;
next	;

1.2.2.1
date	2005.06.06.00.24.46;	author sobomax;	state Exp;
branches;
next	;

1.2.4.1
date	2005.12.15.03.50.03;	author sobomax;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	2006.06.04.10.48.06;	author maxim;	state dead;
branches;
next	;


desc
@@


1.4
log
@o Take an account a media sectorsize for medium and bigsize calculation.
o Introduce -r and -w keys which allow to load and save a worklist.
o Replace README by man page.

PR:		bin/96677
Submitted by:	Ulrich Spoerlein
Approved by:	phk
MFC after:	1 month
@
text
@$FreeBSD: src/tools/tools/recoverdisk/README,v 1.3 2005/08/29 23:08:01 sobomax Exp $

This is a small tool which will read an entire disk(partition) or file
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:

	touch myfloppy.flp
	recoverdisk /dev/fd0 myfloppy.flp

or recover a single file from the unreadable media:

	recoverdisk /cdrom/file.avi file.avi
@


1.3
log
@Extend utility to allow recovering single file from the deffective
media.

MFC after:      2 weeks
@
text
@d1 1
a1 1
$FreeBSD$
@


1.2
log
@Fix "to a file" example so it works (one must touch(1) the file first).
@
text
@d3 2
a4 2
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.
d23 3
@


1.2.4.1
log
@Extend utility to allow recovering single file from the deffective
media.
@
text
@d3 2
a4 2
This is a small tool which will read an entire disk(partition) or file
using 1M blocks and optionally write the read data to a file or disk.
a22 3
or recover a single file from the unreadable media:

	recoverdisk /cdrom/file.avi file.avi
@


1.2.4.2
log
@Sync with HEAD: take an account a media sectorsize for medium and
bigsize calculation; -r and -w keys to load and save a worklist;
add man page; amd64 fixes.
@
text
@d1 1
a1 1
$FreeBSD: src/tools/tools/recoverdisk/README,v 1.2.4.1 2005/12/15 03:50:03 sobomax Exp $
@


1.2.2.1
log
@MFC: wonderful recoverdisk utility.
@
text
@@


1.1
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
@
text
@d20 1
@

