Added SHA1 checksum of /dev/LOCDEV. The checksum is written into
the patch file but you can get it with standard tools:

bdsync "bdsync -s" /dev/LOCDEV /dev/REMDEV > ./diff

CHECKSUM=`tail -c 40 ./diff`