hashdeep icon indicating copy to clipboard operation
hashdeep copied to clipboard

Bogus last line in md5deep piecewise output for block device (on Linux)

Open M-a-r-k opened this issue 4 years ago • 0 comments

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).

M-a-r-k avatar Aug 26 '21 19:08 M-a-r-k