support disk cloning

Offen
#42 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
rust
Bereich
backend, performance

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
142
Forks
40
Ø Merge
2 T. 22 Std.
Gemergte PRs (30 T.)
10

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus bootc-dev/bcvk

Alle Issues in bootc-dev/bcvk

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.