Thanks for the report. As with most Unix commands, dd exits with non-zero status to indicate an error. Otherwise, it exits successfully (with a value of zero). As for documenting this sort of thing, I've added it to my to-do list. "Bradley M. Kuhn" <[EMAIL PROTECTED]> writes: | Ricardo Davis wrote: | > I was checking the documentation at: | > http://www.gnu.org/manual/fileutils/index.html | > | > I'm writing a script and would like to test the result of the 'dd' | > command. The documentation on my system as well as the on-line page (see | > above) had nothing on the exit status of the command. Is this documented | > anywhere? | | You are quite right. I looked too and and there does not appear to be any | information on the exit code status of `dd' in the documentation for | fileutils. | | For now, your best bet for now is to look in the source code of the software | to see the exit status. | | It seems that this is a bug in the file utils documentation, so I have cc'ed | <[EMAIL PROTECTED]> to make the maintainers aware of the problem. They | will handle it from here, as I may be mistaken; the exit codes may, in fact, | be documented in another place. | | Thanks for contacting us! We appreciate bug reports.
