From c733c124e0141878ff2948af68b98bf53241641a Mon Sep 17 00:00:00 2001 From: ghen Date: Wed, 8 Mar 2006 10:01:49 +0000 Subject: Import dd_rhelp, a helper script for sysutils/dd_rescue. 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. --- sysutils/dd_rhelp/DESCR | 13 +++++++++++++ sysutils/dd_rhelp/Makefile | 23 +++++++++++++++++++++++ sysutils/dd_rhelp/PLIST | 2 ++ sysutils/dd_rhelp/distinfo | 5 +++++ 4 files changed, 43 insertions(+) create mode 100644 sysutils/dd_rhelp/DESCR create mode 100644 sysutils/dd_rhelp/Makefile create mode 100644 sysutils/dd_rhelp/PLIST create mode 100644 sysutils/dd_rhelp/distinfo (limited to 'sysutils/dd_rhelp') diff --git a/sysutils/dd_rhelp/DESCR b/sysutils/dd_rhelp/DESCR new file mode 100644 index 00000000000..b5ee484e698 --- /dev/null +++ b/sysutils/dd_rhelp/DESCR @@ -0,0 +1,13 @@ +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. diff --git a/sysutils/dd_rhelp/Makefile b/sysutils/dd_rhelp/Makefile new file mode 100644 index 00000000000..5be0325f1fd --- /dev/null +++ b/sysutils/dd_rhelp/Makefile @@ -0,0 +1,23 @@ +# $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" diff --git a/sysutils/dd_rhelp/PLIST b/sysutils/dd_rhelp/PLIST new file mode 100644 index 00000000000..bba3c5b512b --- /dev/null +++ b/sysutils/dd_rhelp/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/08 10:01:49 ghen Exp $ +bin/dd_rhelp diff --git a/sysutils/dd_rhelp/distinfo b/sysutils/dd_rhelp/distinfo new file mode 100644 index 00000000000..0977bbbf3f5 --- /dev/null +++ b/sysutils/dd_rhelp/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/03/08 10:01:49 ghen Exp $ + +SHA1 (dd_rhelp-0.0.6.tar.gz) = 4b0ac6c44c664d860e2bce24328cb62f7ec2a323 +RMD160 (dd_rhelp-0.0.6.tar.gz) = 8702f9bdf4195c79e2f3cccb1681d2d6b5153270 +Size (dd_rhelp-0.0.6.tar.gz) = 67098 bytes -- cgit v1.2.3