support disk cloning

Đang mở
#42 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
backend, performance

Hướng nghiên cứu

Start by reading the linked composefs-rs issue 62 and tracing the existing disk-image generation and bootc install to-existing-root entry points; the issue does not name specific files or tests. The proposed scope includes compatible-filesystem checks and a seed mode that preserves the composefs repo while wiping other data. Done means disk image generation can reuse a compatible seed and is substantially faster.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

xref https://github.com/containers/composefs-rs/issues/62 - basically, composefs-rs writes are slow. One thing we could probably do here (also with changes in bootc) is using existing disk images as "seeds". There's multiple levels of this but to start basically:

  • If we have a disk image that has a compatible filesystem (and size) and is known to be composefs based, we can clone it (at the block level, or have a "base" seed that we use as a backing store), and then have a mode where we bootc install to-existing-root --as-seed that ensures we always wipe everything except the composefs repo.

This should dramatically speed up disk image generation.

Ngôn ngữ chính
Rust
Star
142
Fork
40
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bootc-dev/bcvk

Tất cả issue của bootc-dev/bcvk

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.