Package Details: ddrutility 2.8-2

Git Clone URL: https://aur.archlinux.org/ddrutility.git (read-only, click to copy)
Package Base: ddrutility
Description: Set of utilities for use with GNU ddrescue to aid with data recovery
Upstream URL: http://sourceforge.net/projects/ddrutility/
Licenses: GPL3
Submitter: net147
Maintainer: net147
Last Packager: net147
Votes: 20
Popularity: 0.000023
First Submitted: 2014-05-19 13:30 (UTC)
Last Updated: 2020-05-19 03:58 (UTC)

Latest Comments

matheusmoreira commented on 2024-05-22 00:15 (UTC)

Running ddru_findbad also requires the ntfscluster, ifind and gfdisk binaries. The ntfs-3g package provides ntfscluster while sleuthkit provides ifind. There doesn't seem to be a gfdisk packaged anywhere though?

net147 commented on 2020-05-19 03:58 (UTC)

@mentuhotep Fixed

mentuhotep commented on 2020-05-18 18:24 (UTC)

This does not build for me, even when I download the package manually and compile it with make. I tried it on a virtual machine with an old version of linux mint and it compiled...

probackup-nl commented on 2018-08-03 15:14 (UTC)

2 warnings:

[code] gcc -Wall -W ddrutility.c -o ddrutility gcc -Wall -W ddru_ntfscommon.c ddru_ntfsbitmap.c -o ddru_ntfsbitmap ddru_ntfsbitmap.c: In function 'processdata': ddru_ntfsbitmap.c:1174:46: warning: '%s' directive writing up to 254 bytes into a region of size between 221 and 240 [-Wformat-overflow=] sprintf (command, "truncate -s %lld \'%s\'", (long long)ntfs_attribute.items.Attr.NonResident.n64RealSize, destination_file); ^~ ~~~~~~~~~~~~~~~~ ddru_ntfsbitmap.c:1174:8: note: 'sprintf' output between 17 and 290 bytes into a destination of size 255 sprintf (command, "truncate -s %lld \'%s\'", (long long)ntfs_attribute.items.Attr.NonResident.n64RealSize, destination_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -W ddru_ntfscommon.c ddru_ntfsfindbad.c -o ddru_ntfsfindbad gcc -Wall -W ddru_diskutility.c -o ddru_diskutility ddru_diskutility.c: In function 'readsector': ddru_diskutility.c:788:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ddru_diskutility.c:790:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' scsi_cmd[15] = 0; ^~~~~~~~ [/code]

net147 commented on 2017-01-15 03:33 (UTC)

@jamesan Updated

jamesan commented on 2017-01-14 20:02 (UTC)

The build process has changed in this latest release, v2.8; namely Autotools is no longer used, so there is no <pre>./configure</pre> script to run and no aclocal folder to remove at the end of the <pre>package()</pre> function. We can resort to manually modifying the makefile to remove the local folder (as in change <pre>/usr/local</pre> paths to <pre>/usr</pre>): <code> prepare() { cd "$pkgname-$pkgver" sed --in-place 's/usr\/local/usr/g' makefile } build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install } </code> I've also removed references to $srcdir as each PKGBUILD function begins with $srcdir as its working directory.

akovia commented on 2014-12-24 15:14 (UTC)

Looks like this has been updated to 2.6 so the download fails for 2.5 ==> ERROR: Failure while downloading ddrutility-2.5.tar.gz Aborting...

DaveCode commented on 2014-06-13 04:10 (UTC)

Voted, nice addition. No pkg 'sh' exists, and AUR assumes base stuff implicitly, so 'sh' can drop. While I'm not familiar with this utility, wouldn't 'extra/ddrescue' be a dependency, or at least an optdepends? Thanks.