support disk cloning

Abierto
#42 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
142
Forks
40
Merge medio
2 d 22 h
PR fusionados (30 d)
10

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bootc-dev/bcvk

Todos los issues de bootc-dev/bcvk

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.