jessek / hashdeep

Other
702 stars 132 forks source link

issue: hashdeep generates for 2 equal lists versus 2 same directories nearly the same lists #353

Open andry81 opened 8 years ago

andry81 commented 8 years ago

If try to call: pushd & hashdeep -l -f > & popd pushd & hashdeep -l -f > & popd

where: equal line-by-line to

then: not equal line-by-line to but: each dir from has the same hashes for equal dir in

So, this all leads to headache while manually comparing and by external tools like AraxisMerge or WinMerge.

I think this happens because you have tried to split hashing into parallel execution by each CPU core. Best solution here is to split directory list into N peaces for each CPU Nth core and scan each peace totally coherently as it comes from the list.

PS: Seems -j0 option does not resolve the problem, because output is different from run to run.