Skip to content

cow build #1

Description

@yongjhih

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

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

cow 機制。

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

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

不然就要用 lvm snapshot 了。

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions