When generating an ISO image using the
genisoimage command (apparently "a carbon copy of
genisoimage -o image.iso path/to/source/directory
Is a checksum or other type of verification done by this command to ensure that the ISO contents exactly match the contents of the source directory?
I'm currently checking the success of this operation by looking at the exit code, but I have a concern about a theoretical rare case where (even if only in extreme situations such as old/failing hard drives) the command completes with an exit code of
0, but the contents of the generated image do not exactly match the contents of the source directory.