|
|
Log in / Subscribe / Register

Systemd and containers

Systemd and containers

Posted Jun 12, 2015 8:19 UTC (Fri) by smcv (subscriber, #53363)
In reply to: Systemd and containers by bandrami
Parent article: Systemd and containers

Recent proponents of merging the root filesystem with /usr initially thought this too, but came to realise that unifying into /usr made more sense than unifying into / - the lib, libexec, share, bin, sbin directories have more in common with each other than with anything else that has traditionally been at the top level.

/usr is not meant to change, ever, except during OS upgrades/package installations (and perhaps installations to /usr/local if you use that); so it can normally be mounted read-only, and if you're using something like OSTree, all of /usr should change atomically as a single unit. The "merged /usr" model does support a separate /usr filesystem, if the initramfs mounts it.

https://wiki.freedesktop.org/www/Software/systemd/TheCase... mentions some other possibilities, like a shared /usr between machines that have the same architecture and package-set (admittedly this makes more sense on OSs like Fedora, where services are normally installed but disabled by default, than on Debian derivatives, where unwanted services are normally not installed).


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds