Información Técnica
Esta página proporciona información técnica básica sobre Fedora Silverblue, incluida información sobre las tecnologías principales utilizadas para construirlo, así como el diseño del sistema de archivos.
Los usuarios no deberían necesitar conocer esta información. Se proporciona aquí para aquellos interesados en los detalles técnicos o aquellos que desean utilizar Fedora Silverblue de una forma no estándar.
ostree y rpm-ostree
ostree es la tecnología principal utilizada para componer, implementar y actualizar Fedora Kinoite. ostree trabaja de una forma similar a un sistema de control de versiones, pero trabaja en árboles completos de sistemas de archivos. Con frecuencia es descrito como “Git para sistemas operativos binarios”.
Para las instalaciones de Fedora Silverblue, ostree es responsable de implementar y actualizar la imagen del sistema operativo (incluyendo todo bajo /
que no tenga enlace simbólico a /var
). También actualiza los apuntes de grub.cfg
para apuntar a la imagen actual.
rpm-ostree se construye sobre ostree y hace posible instalar los RPM como una “capa” encima de una imagen ostree. Esto lo hace posible instalar los RPM en Fedora Silverblue.
When a package is installed with rpm-ostree
, a new OS image is composed by adding the RPM payload to the existing OS image, and creating a new, combined image. To see the newly installed RPMs, the system needs to be rebooted with the new image. rpm-ostree also takes care of recreating the layered image whenever you update the base OS image.
Fedora Silverblue filesystem layout
On Fedora Silverblue, the root filesystem (/
) is immutable. The /usr
directory and everything below it is read-only.
The /etc
and /var
directories are respectively used to store configuration files and runtime state and are thus writable. Symlinks are used to make traditional state-carrying directories available in their expected locations. This includes:
-
/home
→/var/home
-
/opt
→/var/opt
-
/srv
→/var/srv
-
/root
→/var/roothome
-
/usr/local
→/var/usrlocal
-
/mnt
→/var/mnt
-
/tmp
→/sysroot/tmp
This means that separate home partitions should be mounted on /var/home
.
Since Fedora Linux 37, the /sysroot
directory is also mounted read-only.
The /boot
and /boot/efi
directories are currently also mounted as writable but there are plans to mount them read-only in the future or even not mount them at all. See Mount /boot as Read Only by default and Do not mount /boot/efi by default.
For a more detailed explanation of Fedora Silverblue’s filesystem layout, refer to the libostree documentation.
Want to help? Learn how to contribute to Fedora Docs ›