Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

More indirection: symlink management #22

Open
toothbrush opened this Issue Apr 25, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

toothbrush commented Apr 25, 2012

Warning: brainstorm ahead.

What about presenting the mountpoint differently: the root only contains a bunch of symlinks, but these are managed by DotFS. This way, you could have the following setup:

  • a bunch of symlinks in your home dir point to the mountpoint's root directory's symlinks,
  • these in turn point to the processed config files, except when there's a .dontlink file, in which case dotfs makes the managed symlink point to the original confdir version of the file

Advantage: live swapping of processed-or-not config without restarting dotfs & regenerating the symlinks. Please, someone, tell me this is a terrible idea, and how I should be wanting to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment