Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I create multiple hard links to the same file on my system, will Time Machine detect it and make only one physical copy of the file?

share|improve this question
up vote 2 down vote accepted

Little experiment (creating dir, copying file there as a.data and creating link using ln a.data b.data) gave me joyless result: Time Machine doesn't care about hard links, in backup there where two separate files with link count of 1. Time Machine cares only about its own file/folder hard links.

share|improve this answer
    
OUCH! I literally have 200GB of files hardlinked (for organization purposes) where I can easily have 5-10 copies of the same file, but only 1TB of back up space. So... I literally cannot use Apple's own recommended backup method because I'm using hard links?! – Michael Nov 6 '14 at 3:27
    
@Michael Unless you can use symlinks instead of hardlinks at least for part of files – tig Nov 6 '14 at 4:23
    
I can't use soft links because of other issues (for instance OS X won't correctly render the icon of a symlink to the item it points to, instead defaulting to a blank "symlink" icon.) – Michael Nov 6 '14 at 4:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .