Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cow build #1

Open
yongjhih opened this issue Mar 4, 2016 · 0 comments
Open

cow build #1

yongjhih opened this issue Mar 4, 2016 · 0 comments

Comments

@yongjhih
Copy link
Member

yongjhih commented Mar 4, 2016

剛開始寫程式工作的時就在想,每次編譯都需要一定的時間,這時開發者還會繼續開發,但是都要小心不要按到存檔,因為一旦存檔,這下就不知道,這期間的修改到底是有沒有編譯進去?

那有沒有不影響編譯內容,卻可以開開心心繼續開發存檔?

cow 機制。

過了幾年,docker 用到的 union mount filesystem: aufs 似乎可以達到我這個需求。

只是 docker -v 似乎不給重複迭代 mount Orz.

不然就要用 lvm snapshot 了。

另外,近期剛好在研究 fs-raid ,看了一些 zfs 與 btrfs ,btrfs 也支援 union mount (docker aufs 也可以換成 btrfs)。 btrfs 有 snapshot 可以試試看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant