News for hackers. Stuff that matters.
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.
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.
Re:File deduplication in node.js; reduce your disk usage wit... by gwern on Monday November 28, 2011 @10:46AM (#3286299)
Hardlinks don't always work well with tools; IIRC, I've seen backup tools support symlinks but not hardlinks.
Re:File deduplication in node.js; reduce your disk usage wit... by mattadams on Monday November 28, 2011 @11:08AM (#3286400)
Also most modern systems don't support hardlinks on directories.