Say a friend is looking for a new system, and said person is not particularly savvy with technology, what system would you point them toward?

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 6 months ago (2 children)

it runs normally with sudo

So root still has write access to the system then, gotcha. Then it's not really immutable per se, the package manager just has a different way of writing to the filesystem that simulates immutability, I guess?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 6 months ago*

    So root still has write access to the system then

    No, not while the system is running. The base-layer of the OS is fully read-only.

    An update doesn't write to the existing system, it creates a new one that will be switched to on next reboot. So the current system is not actually changed, hence the term immutability. This has two benefits:

    • atomic updates: either the upgrade is successful and you switch over to the new system, or it isn't and you stay on the untouched current system. There's no way to end up in a broken OS because an upgrade went sideways.
    • rollback: the old version stays untouched on disk, so even if the upgrade was successful but something still turns out to be broken after you boot into it, you can just switch back to the old, known-working system
  • source
  • parent