Show number of blocks stored in -lv output - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 115a93564d2c1cba04b4a2f0ace7dfbd52906bb4 DIR parent c908de37593b46facbf6f015dddc4937e979f60d HTML Author: sin <sin@2f30.org> Date: Wed, 21 Mar 2018 17:47:50 +0000 Show number of blocks stored in -lv output Diffstat: M dedup.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -437,6 +437,8 @@ list(void) for (i = 0; i < sizeof(ent.md); i++) printf("%02x", ent.md[i]); + if (verbose) + printf(" %lld", ent.nblks * BLKSIZ); putchar('\n'); lseek(ifd, ent.nblks * sizeof(ent.blks[0]), SEEK_CUR); }