c733c124e0
dd_rhelp is a bash script that handles a very useful program written in C by Kurt Garloff which is called dd_rescue, which roughly acts as the dd(1) command with the characteristic to NOT stop when it falls on read/write errors. But using it is quite time consuming. This is where dd_rhelp come to help. In short, it'll use dd_rescue on your entire disc, but will try to gather the maximum valid data before trying for ages on bad sectors. So if you leave dd_rhelp work for infinite time, it'll have the same effect as a simple dd_rescue. But because you might not have this infinite time (this could indeed take really long in some cases...), dd_rhelp will jump over bad sectors and rescue valid data. In the long run, it'll parse all your device with dd_rescue. You can Ctrl-C it whenever you want, and rerun-it at will, it'll resume its job as it depends on the log files dd_rescue creates.
23 lines
612 B
Makefile
23 lines
612 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2006/03/08 10:01:49 ghen Exp $
|
|
|
|
DISTNAME= dd_rhelp-0.0.6
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.kalysto.org/pkg/
|
|
|
|
MAINTAINER= ghen@NetBSD.org
|
|
HOMEPAGE= http://www.kalysto.org/utilities/dd_rhelp/index.en.html
|
|
COMMENT= Rescue hard disk helper
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= bash:run
|
|
|
|
# can't use REPLACE_INTERPRETER because it happens too early
|
|
SUBST_CLASSES+= bash
|
|
SUBST_STAGE.bash= post-build
|
|
SUBST_FILES.bash= dd_rhelp
|
|
SUBST_SED.bash= -e 's,^\#!.*/bash,\#!${TOOLS_PATH.bash},'
|
|
|
|
DEPENDS+= dd_rescue>=1.03:../../sysutils/dd_rescue
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|