hashdeep
hashdeep copied to clipboard
Bogus last line in md5deep piecewise output for block device (on Linux)
When running md5deep in piecewise mode where the file specified is a block device (/dev/sda etc.), the last line of output is bogus. For example:
... 16f38c6af71859a3a540b00e131b19a0 offset 249443647488-249477201919 65f0a3d974de9dc4862792cc3a4cb5b8 offset 249477201920-249510756351 d41d8cd98f00b204e9800998ecf8427e offset 249510756352-249510756351
The highest byte offset in this case was 249510756351. The hash on the last line is of zero bytes (i.e. no data / nothing).