90b040899a
Like dd, dd_rescue does copy data from one file or block device to another. You can specify file positions (called seek and Skip in dd). There are several differences: * dd_rescue does not provide character conversions. * The command syntax is different. Call dd_rescue -h. * dd_rescue does not abort on errors on the input file, unless you specify a maximum error number. Then dd_rescue will abort when this number is reached. * dd_rescue does not truncate the output file, unless asked to. * You can tell dd_rescue to start from the end of a file and move backwards. * It uses two block sizes, a large (soft) block size and a small (hard) block size. In case of errors, the size falls back to the small one and is promoted again after a while without errors.
18 lines
441 B
Makefile
18 lines
441 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2006/03/08 08:42:04 ghen Exp $
|
|
|
|
DISTNAME= dd_rescue-1.11
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
MAINTAINER= ghen@NetBSD.org
|
|
HOMEPAGE= http://www.garloff.de/kurt/linux/ddrescue/
|
|
COMMENT= dd(1)-like tool for rescuing data from media with errors
|
|
|
|
WRKSRC= ${WRKDIR}/dd_rescue
|
|
|
|
BUILD_TARGET= dd_rescue
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC:Q}/dd_rescue ${PREFIX:Q}/bin/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|