What makes AerynOS Special
The Live Installer, that can be downloaded bellow, uses lichen a custom built CLI software to install and configure AerynOS. The following desktop environment are present in the AerynOS repos:
- Cosmic
- GNOME
- KDE Plasma
- Niri
- Sway
- Terminal Only (no graphical interface)
Atomic Updates
AerynOS brings live atomic updates that apply instantly, while ensuring that the system stays protected through atomic rollbacks in case anything goes wrong. There's no need to reboot the whole system for every little changes.
The atomic update is in fact a series of changes to a system that are treated as a single, indivisible operation. Every operation must complete, otherwise the entire update is cancelled with all prior parts of the incomplete update being rolled back to its original state.
In AerynOS, Atomic updates are managed by its package manager moss . Packages are packaged up as bespoke .stone moss-format files. These .stone files contain a deduplicated set of hashed files compressed using zstd. When a .stone file is installed via moss, the files are decompressed and stored into a global, deduplicated content addressable store under /.moss/.
In the last stage of an atomic update, moss creates a new /usr directory that uses hardlinks to the latest packages and uses the renameat2 Linux kernel syscall with the RENAME_EXCHANGE flag to swap the new and old /usr in an atomic transaction.
It's important to note that hardlinks have a tiny footprint and minimize the disk space and copy operations. This allows for retaining system snapshots with minimal overhead and provides the ability to perform atomic rollbacks to earlier states so long as the user does not prune those.