Robb Matzke wrote:
> Ah, thanks. I get it now. The full and partial blocks do indeed always add
> up to what I would expect. It might be good if this were explicit in the man
> page
Documentation patches are always welcome.
In case you're interested, see
coreutils contribution/style guidelines
http://git.sv.gnu.org/cgit/coreutils.git/plain/HACKING
> I was expecing dd to try harder to fill its buffer each time no matter
> how large a value for "bs=N".
As of coreutils-7.0, you can give GNU dd the iflag=fullblock option:
dd accepts iflag=fullblock to make it accumulate full input blocks.
With this new option, after a short read, dd repeatedly calls read,
until it fills the incomplete block, reaches EOF, or encounters an error.