On 07/18/2013 04:16 PM, Bernhard Voelker wrote: > On 07/18/2013 05:02 PM, Pádraig Brady wrote: >> /* POSIX doesn't say what to do when dd detects it has been >> asked to skip past EOF, so I assume it's non-fatal. > > OTOH, POSIX says: > (http://pubs.opengroup.org/onlinepubs/009695399/utilities/dd.html) > > [...] If some other error is detected, a diagnostic message shall > be written and the copy operation shall be discontinued. > > Hmm, whatever they mean with "some other error" - couldn't this > be such a seek-on-input failure?
In the context of the whole section there, I'm presuming they just mean conv=noerror is only significant for input errors. seeking past end of input couldn't be considered an error IMHO. thanks, Pádraig.
