head	1.6;
access;
symbols
	RELENG_6_4_0_RELEASE:1.3.4.1.6.1
	RELENG_6_4:1.3.4.1.0.6
	RELENG_6_4_BP:1.3.4.1
	RELENG_6_3_0_RELEASE:1.3.4.1
	RELENG_6_3:1.3.4.1.0.4
	RELENG_6_3_BP:1.3.4.1
	RELENG_6_2_0_RELEASE:1.3.4.1
	RELENG_6_2:1.3.4.1.0.2
	RELENG_6_2_BP:1.3.4.1
	RELENG_5_5_0_RELEASE:1.3.2.1
	RELENG_5_5:1.3.2.1.0.2
	RELENG_5_5_BP:1.3.2.1
	RELENG_6_1_0_RELEASE:1.3
	RELENG_6_1:1.3.0.8
	RELENG_6_1_BP:1.3
	RELENG_6_0_0_RELEASE:1.3
	RELENG_6_0:1.3.0.6
	RELENG_6_0_BP:1.3
	RELENG_6:1.3.0.4
	RELENG_6_BP:1.3
	RELENG_5:1.3.0.2;
locks; strict;
comment	@# @;


1.6
date	2007.06.12.21.33.11;	author phk;	state dead;
branches;
next	1.5;

1.5
date	2006.05.30.19.10.18;	author matteo;	state Exp;
branches;
next	1.4;

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

1.3
date	2004.12.21.08.47.28;	author ru;	state Exp;
branches
	1.3.2.1
	1.3.4.1;
next	1.2;

1.2
date	2004.10.24.15.32.58;	author ru;	state Exp;
branches;
next	1.1;

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

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

1.3.4.1
date	2006.06.04.10.48.06;	author maxim;	state Exp;
branches
	1.3.4.1.6.1;
next	1.3.4.2;

1.3.4.2
date	2012.11.17.07.45.30;	author svnexp;	state Exp;
branches;
next	;

1.3.4.1.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Recoverdisk is now part of the base system.
@
text
@# $FreeBSD: src/tools/tools/recoverdisk/Makefile,v 1.5 2006/05/30 19:10:18 matteo Exp $

PROG=	recoverdisk
WARNS?=	6

.include <bsd.prog.mk>

test:	${PROG}
	./${PROG} /dev/ad0
@


1.5
log
@Make recoverdisk compile on amd64 and possibly other 64bit archs.
Bump WARNS to 6.

PR:		amd64/97566
Reviewed by:	phk@@
MFC after:	3 days
@
text
@d1 1
a1 1
# $FreeBSD$
@


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
@d4 1
a4 1
WARNS?=	5
@


1.3
log
@Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by:	core
@
text
@a3 3

NO_MAN=

@


1.3.4.1
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
@d4 4
a7 1
WARNS?=	6
@


1.3.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/tools/tools/recoverdisk/Makefile 159222 2006-06-04 10:48:06Z maxim $
@


1.3.4.1.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


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


1.2
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d5 1
a5 1
NOMAN=
@


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
@d5 1
a5 1
NOMAN=1
@

