33 minutes ago · 56 min read11166 words · Tech · hide

At the end of part 1, systemd had done a switch_root and was running from “the real root filesystem”. That phrase hid a lot. On a default Fedora install, the root filesystem is a subvolume of a Btrfs pool, which lives on a device-mapper device, which decrypts a LUKS2 container, which sits on a partition of an NVMe drive. And the swap device that showed up in the dependency tree wasn’t a disk at all. This is the second article in the Linux Foundationals series. It covers the two resources every process on the system competes for: storage and memory. They belong together more than it seems at first. The page cache is where the filesystem and the memory manager meet, swap is storage used as memory, and zram is memory used as storage used as memory. The reference system is again Fedora 45, and this is the part of the series where Fedora and RHEL differ the most. RHEL has no Btrfs and installs XFS on LVM instead. It also doesn’t enable zram swap or systemd-oomd by default. The block layer,…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town