From patchwork Fri Nov 25 17:37:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6171 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 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NJhrf1b77z3wc7 for ; Fri, 25 Nov 2022 17:37:22 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NJhrd0wFrz2Qr; Fri, 25 Nov 2022 17:37:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NJhrd0JK7z2xZK; Fri, 25 Nov 2022 17:37:21 +0000 (UTC) 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 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NJhrb5tljz2xZK for ; Fri, 25 Nov 2022 17:37:19 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4NJhrb15cqzx5; Fri, 25 Nov 2022 17:37:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1669397839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i2IWXxbMjBhsxHK6FqcQgafDThWZHXwqBItmN5EmYwQ=; b=cSLnKAVf3wcp4cYZZ/EyLqWdmauKGk+gG+Clm+tSwDMq8xHPcid3EVyM2FZIHTFfvahFJ5 WHaGONHyDJpUANQ1Pyh1tnERCLr3qZtGYpig/EPir8GiiUrPZY4TVtU8hXsvW/bjRkY8oA TDmFNh6rp+e/3jCQdYyJbujYf7E/jQqC9YZ9Dhzr+HfRWi7U0i4ONVZxpuUv/f4cCJlze5 f5QJ2maEu2Y3JXC3ttx5CL+xh6v3ZcHbFYd2kq33dZ8D5p7rCx9Lxl6PgUiBbis/u7szmN IC7XM3k2tg9l6WX/rPR2XHTKsWk80wzIJmUlEkpbZjo2sNrVhcCBOcB39WAu2A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1669397839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i2IWXxbMjBhsxHK6FqcQgafDThWZHXwqBItmN5EmYwQ=; b=eEZYKyaEtzcJD3B/d6TSBBtu2C8ljrnRpdfJT81JdZxwJ5vAdcSnbywm76jyoF/bwSkd0J 1v0ARn7o4JBJaRAw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] ddrescue: Update to version 1.26 Date: Fri, 25 Nov 2022 18:37:17 +0100 Message-Id: <20221125173717.3342435-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from version 1.25 to 1.26 - Update of rootfile not required - Changelog Changes in version 1.26: While writing the mapfile, ddrescue now checks the return value of each call to 'fprintf' to catch any temporary failure of 'fprintf' not reported by the system when closing the file. (Hole in mapfile reported by Radomír Tomis). Domain mapfiles may now contain unordered and overlapping blocks when '-L, --loose-domain' is specified as long as no block overlaps with other block of different status. (Suggested by Gábor Katona and Shaya Potter). Ddrescue now shows the file name in all the diagnostics with a file involved. (Reported by Radomír Tomis). Ddrescue now exits with status 1 on fatal read errors. (Suggested by Marco Marques). Empty phases are now completely skipped. Ddrescue now scrolls forward after each pass. This keeps on the screen the final status of the previous pass, making it easier to estimate the amount of work done by the current pass. (Based on a suggestion by David Morrison). In case of error in a numerical argument to a command line option, ddrescue now shows the name of the option and the range of valid values. The option synonyms '--*-logfile' and '--pause' have been removed and are no longer recognized. Ddrescuelog now can convert between mapfiles and bitmaps of blocks (big and little endian). The new option '-F, --format' has been added to ddrescuelog. It selects the input format for '--create-mapfile', or the output format for '--list-blocks'. (Bitmap format proposed by Florian Sedivy). Option '-d, --delete-if-done' of ddrescuelog no longer returns an error if the mapfile is read from standard input. Instead it behaves like '-D, --done-status' because there is nothing to delete. 'ddrescuelog --show-status' now rounds percentages up to get the sum closer to 100%. Three missing '#include ' have been added. (Reported by Richard Burkert). The description of the algorithm in the manual has been improved. Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- lfs/ddrescue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/ddrescue b/lfs/ddrescue index 15a580714..2ac9cbb7d 100644 --- a/lfs/ddrescue +++ b/lfs/ddrescue @@ -26,7 +26,7 @@ include Config SUMMARY = Data Copying in the Presence of I/O Errors -VER = 1.25 +VER = 1.26 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 = 2 +PAK_VER = 3 DEPS = @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 45054ecb6ca12f8fe27d6b783f7e339fc11a9a3425160012e0682e39644fd3c91362ecd568a2a0b93f9f0af87fae2415b33a7c3fcd8fff2262898e8474818a00 +$(DL_FILE)_BLAKE2 = c545499e380587729eb3fcc90a7baf66288348dc88027dfc14401ec72254cc786d8ab7be076a346964327668ff719048dada916c9f1514a765a255f02c5666c7 install : $(TARGET)