Re:File deduplication in node.js; reduce your disk usage wit...
by mercurial on Monday November 28, 2011 @10:21AM
(#3286167)
Why not hardlinks instead of symlinks? This would make much more sense.
[ Parent
| on HN ]
Re:File deduplication in node.js; reduce your disk usage wit...
by nodesocket on Monday November 28, 2011 @05:43PM
(#3287964)
Would be trivial to move to hard links, but for all the reasons outlined below symlinks seem to make the most sense right now. Agreed that if you delete the base file, all the symlinks break is not optimal. Would appreciate help, fork it, and make it better.
Re:File deduplication in node.js; reduce your disk usage wit...
by DanielRibeiro on Monday November 28, 2011 @11:10AM
(#3286406)
Hardlinks cannot link across partitions. Symlinks can. Therefore symlinks always work, so it is easier to use.
Re:File deduplication in node.js; reduce your disk usage wit...
by bxc on Monday November 28, 2011 @12:31PM
(#3286743)
Symlinks don't work on all filesystems, so don't always work.