pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dd_rhelp Import dd_rhelp, a helper script for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/133b0069c24d
branches:  trunk
changeset: 509315:133b0069c24d
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Wed Mar 08 10:01:49 2006 +0000

description:
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.

diffstat:

 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(+), 0 deletions(-)

diffs (59 lines):

diff -r 8c84f5acace6 -r 133b0069c24d sysutils/dd_rhelp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dd_rhelp/DESCR   Wed Mar 08 10:01:49 2006 +0000
@@ -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 -r 8c84f5acace6 -r 133b0069c24d sysutils/dd_rhelp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dd_rhelp/Makefile        Wed Mar 08 10:01:49 2006 +0000
@@ -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@localhost
+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 -r 8c84f5acace6 -r 133b0069c24d sysutils/dd_rhelp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dd_rhelp/PLIST   Wed Mar 08 10:01:49 2006 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/08 10:01:49 ghen Exp $
+bin/dd_rhelp
diff -r 8c84f5acace6 -r 133b0069c24d sysutils/dd_rhelp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dd_rhelp/distinfo        Wed Mar 08 10:01:49 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index