commit | 8a0e18297ffc6a9c9d494102228999d0efc84999 | [log] [tgz] |
---|---|---|
author | Stefan Behrens <sbehrens@giantdisaster.de> | Tue Apr 02 14:21:59 2013 +0200 |
committer | Stefan Behrens <sbehrens@giantdisaster.de> | Thu Apr 25 11:17:49 2013 +0200 |
tree | e0ce271765c8ca210a4e7ddd798e36b27f86eb25 | |
parent | 19ab0e7e95f1c9b52bdaf3bb0875c2c9d8238e7f [diff] |
fardump: Print stream offset in case of errors While commands and its attributes are read, if an error in the stream is detected, this new code prints the offset of the command in the stream. You can easily stuff this offset into the -j parameter of od(1) to print the errored part of the stream 'od -j the_offset -t x1' or 'od -j the_offset -t c1'. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>