Subject: bug#20948: Facing error using coreutil "dd - convert and copy a file"

From: Pádraig Brady <[email-masked]>
Date: Wed, 01 Jul 2015 10:26:49 +0100

On 01/07/15 06:44, Sunil Yadav wrote:
> Hi,
> 
> In one of my tool unix command "dd" to convert and copy a file has been used.
> 
> Most of time this commands runs well while executing with following options
> 
> dd ibs=20b if=/tmp/test3
> 
> output:
> 16019+1 records in
> 320380+1 records out
> 164034561 bytes (164 MB) copied, 4.92556 s, 33.3 MB/s
> 
> With coreutil version 8.4 I am facing following error:
> 
>     dd: writing in "Standard stdin": The connection was reset by the communication partner
> 
> output:
> 102+0 records in
> 2036+0 records out
> 1042432 bytes (1,0 MB) copy, 0,00816693 s, 128 MB/s
> 
> what could be the reason for this error?

sounds like /tmp/test3 is a socket and the writing is
forcibly closing it while dd is reading?