From patchwork Fri Feb 27 18:18:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9538 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4fMxRR6VgHz3wx0 for ; Fri, 27 Feb 2026 18:18:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E7" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4fMxRK4Lkdz5tY for ; Fri, 27 Feb 2026 18:18:53 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4fMxRK2pV1z33yl for ; Fri, 27 Feb 2026 18:18:53 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4fMxR74qJhz33mN for ; Fri, 27 Feb 2026 18:18:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4fMxR65Gd0z5tl; Fri, 27 Feb 2026 18:18:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1772216322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+L9XSQLA3emqoKOTaqX8WdBuodxpwbnWMSz1whBFVu4=; b=nxC5iPINd3zqufw3VqZYaUBhhpu0nkGN665gS39ndmoG8fyp9vKagtLRgNokYNHlwXpp9B FxJDs51LSA0/3XAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1772216322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+L9XSQLA3emqoKOTaqX8WdBuodxpwbnWMSz1whBFVu4=; b=KJJlB73nC/Hiudtoq2+ay1WdwDnFf24y3+eIF1DDE7BXJViWGPb2fMDVDFT44v4FwHjPnM otcwUKCCwzah1AjCIFYbNPQtO4TeE7so2haWoJpd14hnIXd6yJhKNLHO+/21GXi11BTLlm kbyU6IjXdPF5N1LOHgPKE5Uaao7wu/wV9+bKLu2nIiNeC4KjR8YMiJYsPlklNp5cEr5J6j HDeREMfCNItiFzWhueLdZ3/IktE5R+04l9nhg3zGfOoNkihvM1xlMHsTeEqrOHdDl6znLd wKPwUoHF1nYcwEz2uOR3A2p1sQkt42T5H1/5tRMWCnrO00kGA3dV90SeAfVCCQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] ddrescue: Update to version 1.30 Date: Fri, 27 Feb 2026 19:18:32 +0100 Message-ID: <20260227181838.3716442-4-adolf.belka@ipfire.org> In-Reply-To: <20260227181838.3716442-1-adolf.belka@ipfire.org> References: <20260227181838.3716442-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 1.29 to 1.30 - No change to rootfile - Changelog 1.30 * Replace pass 5 of copying with a sweeping phase after trimming. * New option '-N, --no-sweep' to disable reading of skipped areas. Reassign short name '-N' from option '--no-trim' to '--no-sweep'. * main.cc. Make '--size=output' use the size of outfile. (Suggested by Stefan Monnier). (do_rescue): Make '-x 0' extend outfile to size of infile. * main_common.cc (strtoll_): New function accepting underscores. * rescuebook.cc (fcopy_non_tried, rcopy_non_tried): Limit pass 2 to blocks adjacent to a finished block. (Delimit bad area as a whole). (trim_errors): Trim only edges adjacent to a finished block. Initial skip size now defaults to (infile_size / 32_768). Only retrim blocks adjacent to a non-tried or finished block. (update_rates): Don't force update of a_rate, c_rate, ts. (Rescuebook): Estimate remaining time from last 60 seconds. (Suggested by Stefan Monnier). * genbook.cc (format_time), loggers.cc (format_time_dhms): Add years. * loggers.cc (Event_logger): Add finished_size, a_rate, read errors. * ddrescuelog.cc: New option '-H, --make-test'. * ddrescue.texi: Document rescue with lziprecover's recovery record. 1.29.1 * New option '--bad-sector-data'. (Suggested by Eliyahu Saks). * main_common.cc (format_num3): New function. * mapbook.cc (input_pos_error): Print pos and size aligned. * ddrescue.texi: Document use of -p and -x with --domain-mapfile. (Reported by Bret Quigley II). * block.h: Rename to mapfile.h. Signed-off-by: Adolf Belka --- lfs/ddrescue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lfs/ddrescue b/lfs/ddrescue index 8320751ae..b82ce5c5a 100644 --- a/lfs/ddrescue +++ b/lfs/ddrescue @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2025 IPFire Team # +# Copyright (C) 2007-2026 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,7 +26,7 @@ include Config SUMMARY = Data Copying in the Presence of I/O Errors -VER = 1.29 +VER = 1.30 THISAPP = ddrescue-$(VER) DL_FILE = $(THISAPP).tar.lz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = ddrescue -PAK_VER = 5 +PAK_VER = 6 DEPS = @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 88eab69f2296464859dc8720930f28f6bc32aa694649e15a99dcd9dfd63ed8ba845d7af347e8b1ee90e954f8317888ec0f2cd90ec98994a7d2b4d654a31adbfc +$(DL_FILE)_BLAKE2 = 9346608e2b53bb64cc7ed82f1ffd95f9fe8cbf87a4d50dfec0f3a22a44ee108a0a64f383a6b5b62922d0558ee74339880d071f0a82fc26fbb2997314a77d8ca4 install : $(TARGET)