rootfs versioning 比較好的做法?

20 views
Skip to first unread message

DaboD

unread,
Feb 28, 2014, 5:21:35 AM2/28/14
to sh...@googlegroups.com
想對 root file system 進行版本化管理.

zfs, btrfs 能進行 snapshot (commit), clone (branch), 但碰到 merge 時就只有自行寫工具了 (成為了不同的 changeset).

unionfs, aufs, overlayfs 能做得到 merge (共用 changeset), 但 performance 不夠好.

放 git 中則有佔兩份空間及權限無法完整保存的問題, binary merge 則要配合 -s 小心操作.

所以想請問是否有其他方案能達成 rootfs versioning 且能做到 merge (共用 changeset)? 這樣, 當分出去的 branch 的共同 parent 更新時, 用像是 git rebase 或是 git cherry 的功能將 changeset 合到目標 branch 之上, 這樣在 backup 時 send/receive 的資料量能減到最小, 並且同樣的修改可以儘可能的減少人工比對後整合到目標 branch 的機會.
Reply all
Reply to author
Forward
0 new messages