There must be better alternatives, current options include:
- Replace unionfs with aufs which has less users yelling at it and more developers.
- Use a filesystem like btrfs which has snapshots. This changes the model and makes api's like "what changed?" hard to implement.
- Move to a pure userspace model using git. The problem here is that git as currently written is meant for users not transactions.
- Use combination of copy, bind mount, and rsync.
- Use a database for configuration. This is easier for general queries but is the most work. Conversion from existing format would be a pain.
1 comment:
Why not just copy the configs to a new directory, and use a symlink to point to the "current" one? that would guarantee atomicity.
RE: git: a router with a built in RCS would be nice(I built an external one on top of SVN)..
Being able to do 'config blame' and friends right from the CLI would be a killer feature.
Post a Comment