Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 at 3:27
    
@Michael Unless you can use symlinks instead of hardlinks at least for part of files –  tig Nov 6 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 at 4:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.