#602314 please let unison create hardlinks

#602314#5
Date:
2010-11-03 17:14:14 UTC
From:
To:
Thanks to storing content hashes, unison can SHORTCUT copying remote
files by using already present local files as source. It sounds like
it would be just a small step towards letting unison hardlink those
files instead, falling back to copying if the hardlink fails.

#602314#10
Date:
2010-11-03 17:38:44 UTC
From:
To:
Hello,

I am not sure to understand what you ask. Hardlinks and copies are not
the same thing. AFAIU, if you hardlink a file to a different filename
and make a change to one of these files, it will also appear in the
other file. You don't have this effect with copies. If the remote file
is not an hardlink, there is no point making the local file an hardlink.

Are you really sure about this feature? Could you explain to me how you
expect it to work?

Cheers
Sylvain Le Gall

#602314#15
Date:
2010-11-03 17:43:55 UTC
From:
To:
also sprach Sylvain Le Gall <gildor@debian.org> [2010.11.03.1838 +0100]:

You are right. I guess what I am looking for is the ability to
synchronise hardlinks with unison.

Otoh, an option to hardlink identical files on either side of the
sync might be useful.