Received: (at 68216) by debbugs.gnu.org; 2 Jan 2024 23:04:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 02 18:04:57 2024 Received: from localhost ([127.0.0.1]:51553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rKnoc-0001he-HO for submit <at> debbugs.gnu.org; Tue, 02 Jan 2024 18:04:57 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:60709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pixelbeat@HIDDEN>) id 1rKnoY-0001hK-6E for 68216 <at> debbugs.gnu.org; Tue, 02 Jan 2024 18:04:52 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3374c693f92so138511f8f.1 for <68216 <at> debbugs.gnu.org>; Tue, 02 Jan 2024 15:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704236680; x=1704841480; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=vIZBcC12esFRt+faFzfJ6L/pi9YMkv4BDCRvWC7Svco=; b=QDk9gYKS2nMlkME5L2sPVPrNR88SxikQhClu0jOzr53Fsj84hmm48CG1fKT2CDawNc iyGQgSHG3PPGsbTnvVF/vjM6lgs1HfMei0z/Kb7tT9B2Hhqq7/UJWBQWp7DYwQHZjnSY V3vRE4Cl7f7NTgZA9/MOqA2d/8oWESReMI2UTaVSHBH8jNGf4c8+x3N4MteO6mkiVkIs afIr9PzXOuF+cNaMgaTvUcGW9UbWO9HKatZuWmlihCJyBdbDDvBGJhJl/eXX0HmHwGo9 pelLppAXdzGJrU4cF+3UPBjRBjH986VcGQRZwF9WYkAN/ssAChr7vN35gS5d6/q+koXW 41oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704236680; x=1704841480; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vIZBcC12esFRt+faFzfJ6L/pi9YMkv4BDCRvWC7Svco=; b=Cnq1FrJ6rSjzOF9kTizcQ/NmHqrZyhQEEspDNqbn2tj+sq2c8EmJGrgUF0Ktf5wC/C 8dLM9kC/pV3psgLpcxdkpf90eTAfjcDu1HpS+0vhrV4cDzYKD+XAzbBvBhtuAw0W+MRn ETGlsifUS7wUIyqtS8UGTc6YN71bbenNrOGJ46HwhLv+G0LZjUimaQmVhk+qLXuxjlqa BxirJI1b+GOjj1M92kF/5qgE06u92pZp466a44MqHjv1bQoJWH1vwa+XGmO4oe9hFmvu pdlRFnvY4cS+RU0jlKXsxHxcb9NuKGbSb7yoHOvXlzCVYeR4zderuNnHXD0Ma2bbDd+/ AVtw== X-Gm-Message-State: AOJu0YywYei+YZQ4gPdUZY22jMIdmumg3k/QzsdBz8nK5w0uh4NzkHqO qWHZ1UItFgagcjsF5Js+PP51sDI+WGk= X-Google-Smtp-Source: AGHT+IG3mglOJGZl+6p9+aSc97fVRpxd3zNKjfr4DxfiV0vz0EaNoy79f6wBKIc1EWSXFwbFISVR4A== X-Received: by 2002:a5d:4481:0:b0:333:49a8:73ef with SMTP id j1-20020a5d4481000000b0033349a873efmr8073277wrq.6.1704236679913; Tue, 02 Jan 2024 15:04:39 -0800 (PST) Received: from [192.168.1.20] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175]) by smtp.googlemail.com with ESMTPSA id z4-20020a5d4d04000000b00336a1f6ce7csm24905425wrt.19.2024.01.02.15.04.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jan 2024 15:04:39 -0800 (PST) Message-ID: <691a14df-218c-2534-957b-5cb3fc6b2bc8@HIDDEN> Date: Tue, 2 Jan 2024 23:04:38 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: An instance of DD receiving data from another instance with bs=1M, reports the wrong record count. Content-Language: en-US To: "jared@HIDDEN" <jared@HIDDEN>, 68216 <at> debbugs.gnu.org References: <cd3307d5-4d61-4f8d-a569-1269e4c1d9cb@HIDDEN> <0134bb66-9dcd-4ec4-afb9-7b873c2e0b56@HIDDEN> From: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@HIDDEN> In-Reply-To: <0134bb66-9dcd-4ec4-afb9-7b873c2e0b56@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 68216 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On 02/01/2024 22:45, jared@HIDDEN wrote: > Hi Pádraig, > > iflag=fullblock seems to resolve this experience and the man page > excerpt provided makes sense though those lines make no appearance in > the man pages on Archlinux. I will follow up with the distro maintainers. As would explicitly specifying obs on the second dd instance. cheers, Pádraig
bug-coreutils@HIDDEN
:bug#68216
; Package coreutils
.
Full text available.Received: (at 68216) by debbugs.gnu.org; 2 Jan 2024 22:46:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 02 17:46:12 2024 Received: from localhost ([127.0.0.1]:51531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rKnWT-0006aB-R3 for submit <at> debbugs.gnu.org; Tue, 02 Jan 2024 17:46:12 -0500 Received: from live.johnstone.net.au ([67.219.104.184]:43592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1rKnWN-0006Mn-F3 for 68216 <at> debbugs.gnu.org; Tue, 02 Jan 2024 17:46:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=johnstone.net.au; s=default; h=Content-Type:Subject:To:From:MIME-Version: Date:Message-ID:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2Zj5CUzl33iVVrjSLQ9/5KD1Ly+HQELiifXsZc17jgI=; b=g/xXVCvLGAou+27Zw77x4TjPr+ UVm+qgbWDaz4jeUY62/83KzQshXyXMgW04MrXcS6GSE9rXkMM39Pe3CjI1jyM/99N5m7CyI3QInlc bGYqsmUtC6Z0B5FlAS3tf8cmDnKB0YjWCcL4Ods59YOzfUdHGLn9SfOrar3nukuyT6wuog1hRXfOG wB6PVrLCR6oh18X8jSp9t2YcBw3pAgRkzToPT2L55MYNQ/LU7EoVMjpeRUaZCQMmhGkPJPklzmXvI 8k54GvH/5EQDi/JTyUciuXiiW1Wl8khed2scpvdzzxyfZnbx0rn1YS3U68wh2zwW2CyW8PjfEJRjT EgmVEa4g==; Received: from 119-18-19-196.771213.mel.static.aussiebb.net ([119.18.19.196]:52714 helo=[10.20.0.62]) by live.johnstone.net.au with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from <jared@HIDDEN>) id 1rKnWJ-008Zqs-3A for 68216 <at> debbugs.gnu.org; Wed, 03 Jan 2024 09:45:58 +1100 Message-ID: <0134bb66-9dcd-4ec4-afb9-7b873c2e0b56@HIDDEN> Date: Wed, 3 Jan 2024 09:45:56 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: "jared@HIDDEN" <jared@HIDDEN> Content-Language: en-AU To: 68216 <at> debbugs.gnu.org Subject: Re: Re: An instance of DD receiving data from another instance with bs=1M, reports the wrong record count. Autocrypt: addr=jared@HIDDEN; keydata= xsDNBGN972wBDACiq7N5BbM4z0C8hRSQrhuDDO6QdxxmcPLCMKStV3x//7tb9rqZCPXKNVFc wJMMNmvTPQP9jx7bK17o9hUerbwo5P4t1QYAdK9dcg6FSXnlXOgVmh88M9OYbb143PUnxWck t68NIHP9CoMMPFtj17/GXmWD8jsr3EjYWC67qnyDVMdK8k1yJ2o0SXmXQdVOokJZFvQ6arLz wDMSMAHTvh50CILryNv0JcNFA89lQKU3t3o1Y7J4G4XJ9HFTykqGKwSFg7TR7/XtaUgiAgSB 8Qo6hOZJ4tGHh2jRfszOG1cw/FW2oH0KEtI2IXvMPNRmWT2NTsmMErlHbMuwsm12yaxWE9JB k1VsaptviqL/ByYn0wgrwLo9E4JXBtFCxgGeutZY1OdB/i7oIT5meyQnE4Br0JblZtDPBr6f AarVLQb6neMtdbigCsYxxgJex0ntoGt0xbP4WFQ4oc6OA85cRUPSGXqMHujezWLjos1KVmkY sC8/GkAmu8nlAQZ1Ivq7lP8AEQEAAc0oSmFyZWQgSm9obnN0b25lIDxqYXJlZEBqb2huc3Rv bmUubmV0LmF1PsLBEQQTAQgAOwIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAIZARYhBNUC OqlE+wy2PUf1zbZIp2A+1Bm3BQJjffFRAAoJELZIp2A+1Bm3R4wMAJQcdTUri2oL541VOkiS CSumdqr7/fln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CRC2SKdgPtQZtwNyC/9AM4RlMY4OFMnUkPtz2hE7jmZ9VWTxbkH/p0YGIJ5QjKFpwdoq dS5/C4DX7+yyO4RT3HXJtvDX1/zYMgdIVHfNy+ra+IxzOqSCn+YfJ9TjnX0YCB+6nk5NtBT6 YHh6Fam9wEtjX/jjJdTo/YS1Lo827Mo2lzQD7tyUcUFWI8zM2DRe96UGBfDAHVDS/zetXipq arqvBAE4Luxq/pMBbKtvnJMv6RxbQgxe6kDaDq3yYaQNWYn45aRCQ3NZ7FJDoLk6zebQeV+L 7mU1MhQiHh7yZKlZtN75LyKereCqzupdQNETQRRHQ6SARHvPOOHYQ9VrZXjk0ZbU65mxu9yW uk7cAF4JXx8JMpMVTvGGiAd6sUj7XnkHREo6505fxePDe5x7zN1iNWg+tYCTIC4VrOYlPvYR KTZa20MxaUjjqCEd2nDOIP18FQYPIN3wK9/x95gjnV15AtTQpcnZ3UhMmToPXiZM3s19+CYS wZXVidw6mnKoc6BYslhnGcHu0NHLAxk= Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------qRF6eV2AjfCI0FAl0g7WUP7D" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - live.johnstone.net.au X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - johnstone.net.au X-Get-Message-Sender-Via: live.johnstone.net.au: authenticated_id: jared@HIDDEN X-Authenticated-Sender: live.johnstone.net.au: jared@HIDDEN X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68216 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------qRF6eV2AjfCI0FAl0g7WUP7D Content-Type: multipart/mixed; boundary="------------qASrMB7Gfaw5x6DxDNyjTnJG"; protected-headers="v1" From: "jared@HIDDEN" <jared@HIDDEN> To: 68216 <at> debbugs.gnu.org Message-ID: <0134bb66-9dcd-4ec4-afb9-7b873c2e0b56@HIDDEN> Subject: Re: Re: An instance of DD receiving data from another instance with bs=1M, reports the wrong record count. --------------qASrMB7Gfaw5x6DxDNyjTnJG Content-Type: multipart/mixed; boundary="------------HXxgQ4jL5q1U1kSWZ3nAZ0vI" --------------HXxgQ4jL5q1U1kSWZ3nAZ0vI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgUMOhZHJhaWcsDQoNCmlmbGFnPWZ1bGxibG9jayBzZWVtcyB0byByZXNvbHZlIHRoaXMg ZXhwZXJpZW5jZSBhbmQgdGhlIG1hbiBwYWdlIA0KZXhjZXJwdCBwcm92aWRlZCBtYWtlcyBz ZW5zZSB0aG91Z2ggdGhvc2UgbGluZXMgbWFrZSBubyBhcHBlYXJhbmNlIGluIA0KdGhlIG1h biBwYWdlcyBvbiBBcmNobGludXguIEkgd2lsbCBmb2xsb3cgdXAgd2l0aCB0aGUgZGlzdHJv IG1haW50YWluZXJzLg0KDQpUaGFua3MsDQpKYXJlZA0KDQo= --------------HXxgQ4jL5q1U1kSWZ3nAZ0vI Content-Type: application/pgp-keys; name="OpenPGP_0xB648A7603ED419B7.asc" Content-Disposition: attachment; filename="OpenPGP_0xB648A7603ED419B7.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsDNBGN972wBDACiq7N5BbM4z0C8hRSQrhuDDO6QdxxmcPLCMKStV3x//7tb9rqZ CPXKNVFcwJMMNmvTPQP9jx7bK17o9hUerbwo5P4t1QYAdK9dcg6FSXnlXOgVmh88 M9OYbb143PUnxWckt68NIHP9CoMMPFtj17/GXmWD8jsr3EjYWC67qnyDVMdK8k1y J2o0SXmXQdVOokJZFvQ6arLzwDMSMAHTvh50CILryNv0JcNFA89lQKU3t3o1Y7J4 G4XJ9HFTykqGKwSFg7TR7/XtaUgiAgSB8Qo6hOZJ4tGHh2jRfszOG1cw/FW2oH0K EtI2IXvMPNRmWT2NTsmMErlHbMuwsm12yaxWE9JBk1VsaptviqL/ByYn0wgrwLo9 E4JXBtFCxgGeutZY1OdB/i7oIT5meyQnE4Br0JblZtDPBr6fAarVLQb6neMtdbig CsYxxgJex0ntoGt0xbP4WFQ4oc6OA85cRUPSGXqMHujezWLjos1KVmkYsC8/GkAm u8nlAQZ1Ivq7lP8AEQEAAc0oSmFyZWQgSm9obnN0b25lIDxqYXJlZEBqb2huc3Rv bmUubmV0LmF1PsLBEQQTAQgAOwIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAIZ ARYhBNUCOqlE+wy2PUf1zbZIp2A+1Bm3BQJjffFRAAoJELZIp2A+1Bm3R4wMAJQc dTUri2oL541VOkiSCSumdqr7/flnew6xMMUGFh4l1JaOAi3qwJ82XkMT2kRfmEdl Y9qtajZAbllTNOOXS811szBL7nEWnV9Mw/b+a9DgPVnzpOrBR3cz2+RPVLSuG/3v jORDK94OoXPcjVmaDIA5nQg5n+3h5jgaK9m+cX7UTkBlRznu4FQT8LETfHSyJpHS wIwMzsFkRgRtW4LqUz+rAa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U1kSWZ3nAZ0vI-- --------------qASrMB7Gfaw5x6DxDNyjTnJG-- --------------qRF6eV2AjfCI0FAl0g7WUP7D Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEE1QI6qUT7DLY9R/XNtkinYD7UGbcFAmWUkiQACgkQtkinYD7U Gbf4Cwv+NY49ZTpw9Hjt0nsD6tVNjqfqh2sbVuoOQTCfL5lZc+uorhXHTStzUjTx H6TAB+102jAQSO9lYMSjhlx55NDlzZA/rwej4gXrk5HOoRYiZvXDiv8RvY1uWJf0 UAC4LEVgNu5m1Cdp/A7A5701dVA6t9m/8+zI6G9Zw57+fKYsW1Hw9r6JOXWmN139 ELnKhODKIi5rwawvbv0frYpB3ajqhLipaBGSj2p6AsNlYmeWALEpoOyaZY3x1lyl ZIWYxyw009FnxV/4wL5lDlcLjRTQbWaH1i6QxYAq2AMfuTZQiIwnmhnz6S5tRi2e hKmY3np133GfGKAFCYTmfkr3PKSTBo0fIXhmweU/BVx7w00J23wBkI4iMXzW+wCg Pwli9+NYPQWbQ1VYgLIyeFQuWGs7a+1bzsvI6m194Tk5K2Utu6EKZYHiINvEYYJP 9cPorqGC+DWUS00XYZE6eCVBxf1QoVTQbevUikQ0Pq4HjjX/7l+qN7EaoYUxccPC BvBmpzkK =5x7z -----END PGP SIGNATURE----- --------------qRF6eV2AjfCI0FAl0g7WUP7D--
bug-coreutils@HIDDEN
:bug#68216
; Package coreutils
.
Full text available.Received: (at 68216) by debbugs.gnu.org; 2 Jan 2024 17:48:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 02 12:48:31 2024 Received: from localhost ([127.0.0.1]:51211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rKisR-00065O-6w for submit <at> debbugs.gnu.org; Tue, 02 Jan 2024 12:48:31 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:57801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <pixelbeat@HIDDEN>) id 1rKisO-00064R-Dk; Tue, 02 Jan 2024 12:48:29 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40d3ae326f6so104353775e9.3; Tue, 02 Jan 2024 09:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704217700; x=1704822500; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=DHMA4bWfCIIDBktd360RexmU1J2ckGy+Pdn2gzNuf9w=; b=AQP1NwrGi3IcJVw0dVpTfHibMt5Onc1+mzta8mdXuo8ZXr6ijqUA7h8HeKMH0hoDZw whyeQHyveV/ADk+FuK+X63AsMwkkV24GWss7AruIq7HWGyXs4EXhCWzRlqPLLPQ3mq/3 UPxdS0exysRV2y3hMDgD8rMhOdwJxhiM2aKMpN0BzzQoihYsrvts+4IZAotjvG3ftr86 i8HbRfCT/nHW3bxj8upTt564Sh1pDnYYnFkEZZXlhZ4BDISaD6OEart/U30ZZcy1ih4E fH3e27PxP3nGeW4Y1iP4ID53JDQlQ6SDvT4B+RYMN4UWwfIrbJooeHUEaPbI34dDQLyy pljg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704217700; x=1704822500; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DHMA4bWfCIIDBktd360RexmU1J2ckGy+Pdn2gzNuf9w=; b=mR+axM/Yx7b13pEDRvdbgz4gc9zYhH5LIlaaAbvDuX16Ysnvl4IlKmdxUDXvfvjT3B MAhh+WA9NkoJhCdYZ+uZsGL1exSs/eC6KW6T1u2guEm/NeQFAHhfonglbr1Ywks6NwiU 5U255KSO3htUu4O6ULmteMausC4Wu1X+wdzJLO6tj1/heoV9XK2AM+s6bWAOKipubvCu 5wExQ9r7L45VbQEnRIx3UF8oOAIqGMUJp7arlvrsvJMDY8Vt5EkFzEtsPjSxb9tQMq9E zX0RyOHUcq2OyALG51byK+rpHHM8tT30s4ionufPWYitsXmZJS5hzXDuF4gPvpH7NLjO WE9w== X-Gm-Message-State: AOJu0Yz43VTfVjJ6sMYGouNl3FQMVDv7tRSC9bIEaKP9RHHUqB1zsc0Y vtqBeYiKxfRBOC9yD+X56PGgyXamSmY= X-Google-Smtp-Source: AGHT+IH0blULVCW12+iT+sVy/HyRb/NW5GpSxcRyJP+7mWcfbHlLS74t3XDeUndbNu004MBrZ+SsMQ== X-Received: by 2002:a7b:c4da:0:b0:40d:6045:e800 with SMTP id g26-20020a7bc4da000000b0040d6045e800mr4629349wmk.181.1704217699397; Tue, 02 Jan 2024 09:48:19 -0800 (PST) Received: from [192.168.1.20] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175]) by smtp.googlemail.com with ESMTPSA id f11-20020a05600c4e8b00b0040d5118e42esm36072928wmq.22.2024.01.02.09.48.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jan 2024 09:48:18 -0800 (PST) Message-ID: <e01d31ae-e284-5ed0-7f63-bb744fc7e7da@HIDDEN> Date: Tue, 2 Jan 2024 17:48:17 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: An instance of DD receiving data from another instance with bs=1M reports the wrong record count. Content-Language: en-US To: "jared@HIDDEN" <jared@HIDDEN>, 68216 <at> debbugs.gnu.org References: <cd3307d5-4d61-4f8d-a569-1269e4c1d9cb@HIDDEN> From: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@HIDDEN> In-Reply-To: <cd3307d5-4d61-4f8d-a569-1269e4c1d9cb@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 68216 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) forcemerge 8171 68216 stop On 02/01/2024 10:45, jared@HIDDEN wrote: > Hi all, > > It seems an instance of `dd` with only an output file doesn't report > the count of records accurately despite bs= being described as > influencing both ibs= and obs= > > dd'ing from an unstable remote over ssh today I had it continue from the > last received block between crashes in preparation for a P2V. The remote > had bs=1M set with its in=device and the local instance had bs=1M too > with the destination of= device but upon referring to the receiving > end's stable count of records I noticed it ignored my bs=1M setting. > This were worked around using obs=1M to make the counter show a value I > could reliable skip=/seek= with to resume. > > I have an example here: > > /$ dd if=/dev/zero bs=1M count=1 | dd bs=1M of=/dev/null > 1+0 records in > 1+0 records out > 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0010021 s, 1.0 GB/s > *0+16 records in > 0+16 records out* > 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000771722 s, 1.4 GB/s/ > > This is being experienced on Archlinux with kernel '6.6.4' and package > 'core/coreutils 9.4-2' > > dd's man page for this distribution shows: > > /bs=BYTES > read and write up to BYTES bytes at a time (default: > 512); overrides ibs and obs/ > > So I feel it not overriding obs= when invoked with only of= and bs= > arguments could be a bug. > > Running a single dd with /if=source of=dest bs=1M/ works as intended. > > While in my case this isn't a fatal bug working with virtual block > devices it could be problematic for use cases which require a proper > treatment of block sizes such as tape devices. Well the behavior is expected and documented: ‘bs=BYTES’ Set both input and output block sizes to BYTES. This makes ‘dd’ read and write BYTES per block, overriding any ‘ibs’ and ‘obs’ settings. In addition, if no data-transforming ‘conv’ operand is specified, input is copied to the output as soon as it’s read, even if it is smaller than the block size. For details please see https://bugs.gnu.org/8171 thanks, Pádraig.
bug-coreutils@HIDDEN
:bug#68216
; Package coreutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 2 Jan 2024 17:18:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 02 12:18:14 2024 Received: from localhost ([127.0.0.1]:51157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rKiP6-0008Uj-5Z for submit <at> debbugs.gnu.org; Tue, 02 Jan 2024 12:18:14 -0500 Received: from lists.gnu.org ([2001:470:142::17]:46732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1rKcIE-0005pi-58 for submit <at> debbugs.gnu.org; Tue, 02 Jan 2024 05:46:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jared@HIDDEN>) id 1rKcI3-0000HH-BL for bug-coreutils@HIDDEN; Tue, 02 Jan 2024 05:46:33 -0500 Received: from live.johnstone.net.au ([67.219.104.184]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jared@HIDDEN>) id 1rKcHz-0004UL-FS for bug-coreutils@HIDDEN; Tue, 02 Jan 2024 05:46:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=johnstone.net.au; s=default; h=Content-Type:Subject:To:From:MIME-Version: Date:Message-ID:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wCAINIPKXGtncfQQxy6XX5r1RDTlJM+NtPPzaKDnhfo=; b=hOr5SFCh0YaWwtYGNuYpwqyJF6 NZ25I5+zzXn90O+XxdXlwFBeZQVvAh6Fe56SfE4IlKgliv2lmpUH8dJDHaHt1vNlh38ByUQtVtUTZ /MWR4bIi5POZUxLjZa1YGfqpLC/D2pWPnMXSZxfBFVz+Vx97c9tYmbdMNwkuYIlJfyx8h4zsAM387 AMDinlR8lUaPGMs1d6Q2p7ek5byKWgJ+vkMkhkMTb1EUddNdpmH5DS+1Mxu+jrsPru7omoAOHP8WX lzH0eSA1Dkq5k5pshel/MVIQ30wLv72QBKDXP7vwb5OJs2J21ynyPB26ALByDH6zyCuo97wMTV5Hg f0EQk45A==; Received: from 119-18-19-196.771213.mel.static.aussiebb.net ([119.18.19.196]:32896 helo=[10.20.0.62]) by live.johnstone.net.au with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from <jared@HIDDEN>) id 1rKcHD-008R4p-1p for bug-coreutils@HIDDEN; Tue, 02 Jan 2024 21:45:37 +1100 Message-ID: <cd3307d5-4d61-4f8d-a569-1269e4c1d9cb@HIDDEN> Date: Tue, 2 Jan 2024 21:45:36 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-AU From: "jared@HIDDEN" <jared@HIDDEN> To: bug-coreutils@HIDDEN Subject: An instance of DD receiving data from another instance with bs=1M reports the wrong record count. Autocrypt: addr=jared@HIDDEN;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vPOOHYQ9VrZXjk0ZbU65mxu9yW uk7cAF4JXx8JMpMVTvGGiAd6sUj7XnkHREo6505fxePDe5x7zN1iNWg+tYCTIC4VrOYlPvYR KTZa20MxaUjjqCEd2nDOIP18FQYPIN3wK9/x95gjnV15AtTQpcnZ3UhMmToPXiZM3s19+CYS wZXVidw6mnKoc6BYslhnGcHu0NHLAxk= Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------DlTqlA0m67xza9ihlhIxsGgz" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - live.johnstone.net.au X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - johnstone.net.au X-Get-Message-Sender-Via: live.johnstone.net.au: authenticated_id: jared@HIDDEN X-Authenticated-Sender: live.johnstone.net.au: jared@HIDDEN X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched Received-SPF: pass client-ip=67.219.104.184; envelope-from=jared@HIDDEN; helo=live.johnstone.net.au X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 02 Jan 2024 12:18:07 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------DlTqlA0m67xza9ihlhIxsGgz Content-Type: multipart/mixed; boundary="------------iFi8120ymPBRUMS0Vz9RenX4"; protected-headers="v1" From: "jared@HIDDEN" <jared@HIDDEN> To: bug-coreutils@HIDDEN Message-ID: <cd3307d5-4d61-4f8d-a569-1269e4c1d9cb@HIDDEN> Subject: An instance of DD receiving data from another instance with bs=1M reports the wrong record count. --------------iFi8120ymPBRUMS0Vz9RenX4 Content-Type: multipart/mixed; boundary="------------maMbEpR0FFgZiC1tc4PVKp96" --------------maMbEpR0FFgZiC1tc4PVKp96 Content-Type: multipart/alternative; boundary="------------wQ1YzonCFGcLw7kUImaoIiNy" --------------wQ1YzonCFGcLw7kUImaoIiNy Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgYWxsLA0KDQpJdCBzZWVtcyBhbiBpbnN0YW5jZSBvZiBgZGRgwqAgd2l0aCBvbmx5IGFu IG91dHB1dCBmaWxlIGRvZXNuJ3QgcmVwb3J0IA0KdGhlIGNvdW50IG9mIHJlY29yZHMgYWNj dXJhdGVseSBkZXNwaXRlIGJzPSBiZWluZyBkZXNjcmliZWQgYXMgDQppbmZsdWVuY2luZyBi b3RoIGlicz0gYW5kIG9icz0NCg0KZGQnaW5nIGZyb20gYW4gdW5zdGFibGUgcmVtb3RlIG92 ZXIgc3NoIHRvZGF5IEkgaGFkIGl0IGNvbnR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Ni42LjQnIGFuZCBwYWNrYWdlIA0KJ2NvcmUvY29yZXV0aWxzIDkuNC0yJw0KDQpk ZCdzIG1hbiBwYWdlIGZvciB0aGlzIGRpc3RyaWJ1dGlvbiBzaG93czoNCg0KICAgIC9icz1C WVRFUw0KICAgICDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCByZWFkIGFuZCB3cml0ZSB1 cCB0byBCWVRFUyBieXRlcyBhdCBhIHRpbWUgKGRlZmF1bHQ6DQogICAgNTEyKTsgb3ZlcnJp ZGVzIGlicyBhbmQgb2JzLw0KDQpTbyBJIGZlZWwgaXQgbm90IG92ZXJyaWRpbmcgb2JzPSB3 aGVuIGludm9rZWQgd2l0aCBvbmx5IG9mPSBhbmQgYnM9IA0KYXJndW1lbnRzIGNvdWxkIGJl IGEgYnVnLg0KDQpSdW5uaW5nIGEgc2luZ2xlIGRkIHdpdGggL2lmPXNvdXJjZSBvZj1kZXN0 IGJzPTFNLyB3b3JrcyBhcyBpbnRlbmRlZC4NCg0KV2hpbGUgaW4gbXkgY2FzZSB0aGlzIGlz bid0IGEgZmF0YWwgYnVnIHdvcmtpbmcgd2l0aCB2aXJ0dWFsIGJsb2NrIA0KZGV2aWNlcyBp dCBjb3VsZCBiZSBwcm9ibGVtYXRpYyBmb3IgdXNlIGNhc2VzIHdoaWNoIHJlcXVpcmUgYSBw cm9wZXIgDQp0cmVhdG1lbnQgb2YgYmxvY2sgc2l6ZXMgc3VjaCBhcyB0YXBlIGRldmljZXMu DQoNCkJlc3QgcmVnYXJkcywNCkphcmVkDQoNCg== --------------wQ1YzonCFGcLw7kUImaoIiNy Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html> <html> <head> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF= -8"> </head> <body text=3D"#000000" bgcolor=3D"#ffffff"> <p>Hi all,</p> <p>It seems an instance of `dd`=C2=A0 with only an output file doesn'= t report the count of records accurately despite bs=3D being describe= d as influencing both ibs=3D and obs=3D</p> <p>dd'ing from an unstable remote over ssh today I had it continue from the last received block between crashes in preparation for a P2V. The remote had bs=3D1M set with its in=3Ddevice and the local instance had bs=3D1M too with the destination of=3D device but upon= referring to the receiving end's stable count of records I noticed it ignored my bs=3D1M setting. This were worked around using obs=3D= 1M to make the counter show a value I could reliable skip=3D/seek=3D w= ith to resume.</p> <p>I have an example here:</p> <blockquote> <p><i>$ dd if=3D/dev/zero bs=3D1M count=3D1 | dd bs=3D1M of=3D/dev/= null<br> 1+0 records in<br> 1+0 records out<br> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0010021 s, 1.0 GB/s<b= r> <b>0+16 records in<br> 0+16 records out</b><br> 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.000771722 s, 1.4 GB/s</i></p> </blockquote> <p>This is being experienced on Archlinux with kernel '6.6.4' and package 'core/coreutils 9.4-2'</p> <p>dd's man page for this distribution shows:</p> <blockquote> <p><i>bs=3DBYTES<br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 read and write up to BYTES bytes at a time (default: 512); overrides ibs and obs</i></p> </blockquote> <p>So I feel it not overriding obs=3D when invoked with only of=3D an= d bs=3D arguments could be a bug.</p> <p>Running a single dd with <i>if=3Dsource of=3Ddest bs=3D1M</i> work= s as intended.</p> <p>While in my case this isn't a fatal bug working with virtual block devices it could be problematic for use cases which require a proper treatment of block sizes such as tape devices.<br> </p> <p>Best regards,<br> Jared<br> </p> </body> </html> --------------wQ1YzonCFGcLw7kUImaoIiNy-- --------------maMbEpR0FFgZiC1tc4PVKp96 Content-Type: application/pgp-keys; name="OpenPGP_0xB648A7603ED419B7.asc" Content-Disposition: attachment; filename="OpenPGP_0xB648A7603ED419B7.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsDNBGN972wBDACiq7N5BbM4z0C8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VNMNbtrpHhKXB4DguuxMvzCaXVDg8lfy1yMNGo4uCgzwLAjFTdsfglUMS2 xTnncgd1Kwk6kOl4NY/MSmZP8rPc992Xilg1iiBa3YsFZWxR29PhKBffIYIAwuE8 a1bKDdvG1amFoxfYPk0fgiMBytwIL4SzVgoABTUwAp6dCLPPQkNzEx7KI2kwh6EJ xKvk6/c6I8w6vKgKqiMc9rQGnLu3YE4NaWb2zsw5Kz0AEQEAAcLA9gQYAQgAIAIb DBYhBNUCOqlE+wy2PUf1zbZIp2A+1Bm3BQJjffF8AAoJELZIp2A+1Bm3A3IL/0Az hGUxjg4UydSQ+3PaETuOZn1VZPFuQf+nRgYgnlCMoWnB2ip1Ln8LgNfv7LI7hFPc dcm28NfX/NgyB0hUd83L6tr4jHM6pIKf5h8n1OOdfRgIH7qeTk20FPpgeHoVqb3A S2Nf+OMl1Oj9hLUujzbsyjaXNAPu3JRxQVYjzMzYNF73pQYF8MAdUNL/N61eKmpq uq8EATgu7Gr+kwFsq2+cky/pHFtCDF7qQNoOrfJhpA1ZifjlpEJDc1nsUkOguTrN 5tB5X4vuZTUyFCIeHvJkqVm03vkvIp6t4KrO6l1A0RNBFEdDpIBEe8844dhD1Wtl eOTRltTrmbG73Ja6TtwAXglfHwkykxVO8YaIB3qxSPteeQdESjrnTl/F48N7nHvM 3WI1aD61gJMgLhWs5iU+9hEpNlrbQzFpSOOoIR3acM4g/XwVBg8g3fAr3/H3mCOd XXkC1NClydndSEyZOg9eJkzezX34JhLBldWJ3DqacqhzoFiyWGcZwe7Q0csDGQ=3D=3D =3Dki1Y -----END PGP PUBLIC KEY BLOCK----- --------------maMbEpR0FFgZiC1tc4PVKp96-- --------------iFi8120ymPBRUMS0Vz9RenX4-- --------------DlTqlA0m67xza9ihlhIxsGgz Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEE1QI6qUT7DLY9R/XNtkinYD7UGbcFAmWT6VAACgkQtkinYD7U Gbfz+Qv7BZQQb4lans5oPNOGNU7HnXY0LpTRNQjmSaCla2FMyOhJ+KlnlSqfsWB4 ADm9K5KvPXjSorwDafnwyEB2qJECI7bFnFreraZlK3uY4vZvMzXYpxYEHB/kQO60 6qKsV0919nHICq9BFnnftrtcgAGZTmbJKl5bE3P8L+sFWO1kU0DfpLgqGjX/HdGl 49cAVFeoWT3+cFsI5P9ZFt/7Ig4GODkpSkbfTDh5D/ZBu8W2p0PTKou7fF3HhNO1 s5FMyXKFztT4aMUIpUyVf4MSq8eQGAV0AUfBQ4sq3fot7EC3+AzACB4t+Rn1RxRR i7iqXCU1CWcD+WbhBczMeOqcmN0cDhNwACfszkhfXunMeaL+5loaH6HDTPqRnyvD YX8CKXE+FJBeuN+6JoR0A2UX48ZRlQ0fwVd4ibV2DiuVq5kjBEVvNGUsdHptWziJ utporcW753fz/jJhc9RDl2YaajhPEDUthtEUMmfMTsC/2TamCrFuv0KAT4lx+Pxd 231T8O79 =r9Pz -----END PGP SIGNATURE----- --------------DlTqlA0m67xza9ihlhIxsGgz--
"jared@HIDDEN" <jared@HIDDEN>
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#68216
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.