> Hello, > > I'm experiencing some problems trying to use "dd" to load firmware onto a > device, and I guess this could be a potential bug? > > - dd if=myfirmware.bin of=/dev/mydevice > > The problem is that /dev/mydevice returns -EIO if the load has been > unsuccessful, but dd always returns 0 whether this occurs or not. > > I was expecting dd to explicitly close the if=/of= file descriptors and > return any errors, but looking at the code it seems to close only > stdin/stdout, and does not check for successful close of the input and > output files?? > > I am using coreutils-5.9.3 - any help or suggestions much appreciated. > > Steve Hardy > >
This email is for the intended addressee only. If you have received it in error then you must not use, retain, disseminate or otherwise deal with it. Please notify the sender by return email. The views of the author may not necessarily constitute the views of EADS Astrium Limited. Nothing in this email shall bind EADS Astrium Limited in any contract or obligation. EADS Astrium Limited, Registered in England and Wales No. 2449259 Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
