GNU bug report logs - #8171
[dd] bs=blocksize doesn't work as expected

Previous Next

Package: coreutils;

Reported by: Станислав <ginermail <at> gmail.com>

Date: Fri, 4 Mar 2011 05:07:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Станислав <ginermail <at> gmail.com>
Cc: 8171 <at> debbugs.gnu.org
Subject: bug#8171: 
Date: Fri, 04 Mar 2011 15:45:04 +0000
On 04/03/11 15:27, Станислав wrote:
> Thanks a lot for clarifying!
> 
> I also think it would be nice to notice this behaviour clearer in
> documentation. man dd says almost nothing about. info dd says about 'short
> reads' but it seems not so easy to understand what it means. 'dd' is
> populary utility in scripts so many people can bumb into this behaviour. As
> for me it took two months to catch 'slow' problem with our tape drive.

I'll think about improving the man page, maybe by doing:

-  bs=BYTES        read and write BYTES bytes at a time (also see ibs=,obs=)
+  bs=BYTES        read and write up to BYTES bytes at a time

-  ibs=BYTES       read BYTES bytes at a time (default: 512)
-  ibs=BYTES       read up to BYTES bytes at a time (default: 512)

> PS: Is it good work around that I mentioned before (I mean 'ibs=256K
> obs=256K') or it can be changed in future?

That behavior will not change and is a valid workaround,
that works on all flavors of dd

cheers,
Pádraig.




This bug report was last modified 14 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.