Debian Bug report logs - #859021
dd: document that bs overrides ibs and obs

version graph

Package: coreutils; Maintainer for coreutils is Michael Stone <[email protected]>; Source for coreutils is src:coreutils (PTS, buildd, popcon).

Reported by: Chris Davies <[email protected]>

Date: Wed, 29 Mar 2017 16:09:02 UTC

Severity: minor

Found in version coreutils/8.25-2

Full log


đź”— View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#859021: dd: document that bs overrides ibs and obs
Reply-To: Pádraig Brady <[email protected]>, [email protected]
Resent-From: Pádraig Brady <[email protected]>
Resent-To: [email protected]
Resent-CC: Michael Stone <[email protected]>
X-Loop: [email protected]
Resent-Date: Thu, 30 Mar 2017 02:18:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 859021
X-Debian-PR-Package: coreutils
X-Debian-PR-Keywords: 
X-Debian-PR-Source: coreutils
Received: via spool by [email protected] id=B859021.14908400963593
          (code B ref 859021); Thu, 30 Mar 2017 02:18:02 +0000
Received: (at 859021) by bugs.debian.org; 30 Mar 2017 02:14:56 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.5 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	HAS_BUG_NUMBER,URIBL_CNKR autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 62; spammy,
	0. spammytokens: hammytokens:0.000-+--manpage, 0.000-+--H*UA:45.0,
	0.000-+--H*u:45.0, 0.000-+--commitdiff, 0.000-+--gitweb
Received: from midir.magicbluesmoke.com ([82.195.144.46] helo=mail.magicbluesmoke.com)
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1ctPc0-0000vZ-27
	for [email protected]; Thu, 30 Mar 2017 02:14:56 +0000
Received: from localhost.localdomain (mobile-166-137-178-068.mycingular.net [166.137.178.68])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.magicbluesmoke.com (Postfix) with ESMTPSA id A9BB34AFC;
	Thu, 30 Mar 2017 03:06:49 +0100 (IST)
To: Chris Davies <[email protected]>, [email protected]
References: <149080344655.12465.2925999249895624985.reportbug@parrot.roaima.co.uk>
From: Pádraig Brady <[email protected]>
Message-ID: <[email protected]>
Date: Wed, 29 Mar 2017 19:06:46 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <149080344655.12465.2925999249895624985.reportbug@parrot.roaima.co.uk>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 482 seconds by postgrey-1.35 at buxtehude; Thu, 30 Mar 2017 02:14:55 UTC
On 29/03/17 09:04, Chris Davies wrote:
> Package: coreutils
> Version: 8.25-2+b1
> Severity: minor
> 
> Dear Maintainer,
> 
> The man page for dd does not define an interaction between bs and its more
> specific ibs and obs options. POSIX does mandate that bs, if specified,
> shall override ibs and obs. Empirically I have determined that coreutils
> dd implements POSIX behaviour, so I should like to suggest the man page
> is updated to state that bs overrides ibs and/or obs.
> 
> 
> POSIX man page at http://www.unix.com/man-page/posix/1posix/dd/ defines
> the three options bs, ibs, and obs as follows:
> 
>     ibs=expr
> 	Specify the input block size, in bytes, by expr (default is 512).
> 
>     obs=expr
> 	Specify the output block size, in bytes, by expr (default is 512).
> 
>     bs=expr
> 	Set  both input and output block sizes to expr bytes, superseding
> 	ibs= and obs=. If no conversion other than sync, noerror, and
> 	notrunc is specified, each input  block shall be copied to the
> 	output as a single block without aggregating short blocks.
> 
> 
> Extracts from the current coreutils man page read as follows:
> 
>     bs=BYTES
> 	read and write up to BYTES bytes at a time
> 
>     ibs=BYTES
> 	read up to BYTES bytes at a time (default: 512)
> 
>     obs=BYTES
> 	write BYTES bytes at a time (default: 512)
> 
> 
> I would like to suggest that the explanation is amended as follows:
> 
>     bs=BYTES
> 	read and write up to BYTES bytes at a time (default:
> 	512); overrides ibs and obs

Done in your name upstream at:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.27-15-gc1c558e

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:46:03 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.