On Sat, 14 Jan 2012 00:14:25 +0100 Francisco J Ballesteros <n...@lsub.org> wrote: > but if you insert extra music in front of your track dedup in venti won't > help. > or would it?
No. Venti operates at block level. You are better off using an SCM like mercurial (though commits are likely to be slow). In case you were wondering, the mercurial repo format does seem to be `dedup' friendly as new data is appended at the end. $ du -sh .hg 100M .hg $ ls -l .hg/store/data/foo.d -rw-r--r-- 1 xxxxx xxxxx 104857643 Jan 13 16:13 .hg/store/data/foo.d $ cp .hg/store/data/foo.d xxx # save a copy of repo data for foo $ echo 1 | cat - foo > bar && mv bar foo # prepend a couple of bytes to foo $ hg commit -m'test4' $ ls -l .hg/store/data/foo.d -rw-r--r-- 1 xxxxx xxxxx 104857657 Jan 13 16:16 .hg/store/data/foo.d $ cmp xxx .hg/store/data/foo.d # compare old repo data with new cmp: EOF on xxx $ du -sh .hg 100M .hg