Can hard links get broken?
bash, git, unix
Solution
This can happen if the original file (`~/work/genDocs/bibs/SKM.bib`) is recreated instead of being modified in-place. A new inode will be created, but your link will still point to the old inode. You can fix the issue by creating symbolic links with `ln -s` instead of hard links with `link`. See What is the difference between a symbolic link and a hard link?
Problem
I have the feeling that from time to time my hard links get broken. I use to synchronize a couple of copies by creating links via, e.g.: ``` link ~/work/genDocs/bibs/SKM.bib SKM.bib ``` Once a while I recognize that a synchronization hasn't taken place and I "renew" the link. Personally I don't think, this should happen, but may it be that such links get broken? Reasons I can think of: - system updates - interference with version control (I use git)