support disk cloning

Aperta
#42 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
142
Fork
40
Merge medio
2g 22h
PR unite (30g)
10

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bootc-dev/bcvk

Tutte le issue di bootc-dev/bcvk

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.