Thanks for the report.
Are you sure there's a problem?
If so, please provide a small example demonstrating it.
And please use the latest test release:
  ftp://alpha.gnu.org/gnu/fetish/

The latest test release seems to work properly:

  $ printf 123456 | dd conv=noerror,sync ibs=5 obs=5 > /dev/null
  1+1 records in
  2+0 records out

The above is correct because `sync' directs dd to pad the final,
partial block of input (containing just `6') with NUL bytes, so it
outputs a total of 10 bytes or two full 5-byte records.

Now, if you remove the `sync', maybe you'll see what you expected:

  $ printf 123456 | dd conv=noerror ibs=5 obs=5 > /dev/null
  1+1 records in
  1+1 records out

Tim Wright <[EMAIL PROTECTED]> wrote:
| Use of 'dd conv=noerror,sync' with a reasonably large blocksize (large enough
| to not be a clean multiple of the input size), generates an incorrect summary.
| The blocks out will report 'XXXXX+0' rather than '+1' indicating a partial
| block write.
...

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to