I have a large source code repository on a Linux NFS mount and I'd like to create a shadow copy of that repository such that only files that I write in this shadow repository are modified in my shadow repository. All other files remain symlinks or hardlinks to the master, original repository.
Can this be done with hardlinks on NFS?
I can envision a script where, much like in a version control system, I check out the files that I want to modify from the original, which causes the script to sever the link between master and shadow repositories, creating a copy of the master repository's file that I can then modify. However, I'm sure someone else has created a utility for this and I'm just not aware of the obscure Linux incantations needed to conjure up my solution.