Technische Details

Diese Seite liefert etwas technische Hintergrundinformationen zu [variant-name], inklusive den grundlegenden Technologien, mit der es gebaut wird, sowie dem Dateisystem-Layout.

Nutzer sollten diese Informationen nicht wissen müssen. Sie werden hier für alle Interessierten und solche, welche [variant-name] in einer nicht-standardmäßigen Art verwenden wollen, bereitgestellt.

ostree und rpm-ostree

ostree ist die grundlegende Technologie, mit der [variant-name] zusammengesetzt, bereitgestellt und aktualisiert wird. ostree arbeitet ähnlich einem Versions-Kontrollsystem, jedoch mit ganzen Dateisystem-Bäumen. Es wird oft als "Git für System-Binärdateien" bezeichnet.

In [variant-name] Installationen ist ostree verantwortlich für die Bereitstellung und Aktualisierung des Betriebssystem-Abbilds (einschließlich allem in /, was nicht nach /var ge-symlinkt ist). Es aktualisiert auch die grub.cfg Einträge, um auf das aktuelle Abbild zu weisen.

rpm-ostree baut auf ostree auf, und erlaubt zusätzlich die Installation von RPMs als "layer" über das ostree Abbild. Dies ermöglicht die Installation von RPMs auf [variant-name].

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 Kinoite filesystem layout

On Fedora Kinoite, 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 Kinoite’s filesystem layout, refer to the libostree documentation.