[Bug find-debuginfo/33771] Use ddpt or gnu dd iflag=skip_bytes,count_bytes for ar member extraction
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Mon Jan 19 16:56:51 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=33771
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit 718c9906abe67c7f244ee1ceff2f5759736b9bde
Author: Mark Wielaard <mark@klomp.org>
Date: Wed Jan 14 00:25:35 2026 +0100
find-debuginfo: Use 64k buffers to extract ar members with dd
If the dd implemention support the skip_bytes and count_bytes iflags
then use them with a blocksize of 64k. skip_bytes will use bytes to
skip and count_bytes will use bytes for count. Otherwise we have to
use bs=1 because skip and count would be interpreted as the number of
blocks (to skip or copy). Using a blocksize of 64k will speed up dd
processing. Also allow much more members to be extracted if we have a
fast dd.
https://sourceware.org/bugzilla/show_bug.cgi?id=33771
Suggested-by: Ben Beasley <code@musicinmybrain.net>
Signed-off-by: Mark Wielaard <mark@klomp.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list