dedup

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

commit 115a93564d2c1cba04b4a2f0ace7dfbd52906bb4
parent c908de37593b46facbf6f015dddc4937e979f60d
Author: sin <sin@2f30.org>
Date:   Wed, 21 Mar 2018 17:47:50 +0000

Show number of blocks stored in -lv output

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

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); }