dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit fe4061d87b77bf2789310758b799078da594f2bf
parent cf5881ad53bdf66d5b1a097dcd2ac21510b554e6
Author: sin <sin@2f30.org>
Date:   Tue, 20 Mar 2018 17:58:36 +0000

Dump blocks in verbose mode

Diffstat:
Mdedup.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dedup.c b/dedup.c @@ -183,6 +183,8 @@ dedup(int fd) blk.sz = n; hash_blk(&blk); + if (verbose) + dump_blk(&blk); SHA256_Update(&ctx, blk.data, blk.sz); ent = grow_ent(ent, ent->nblks + 1);