For once I feel a little out of touch after I took a bit of a break from following the news to focus on studying, and suddenly everyone is talking about immutable distributions. What are they exactly? What are the benefits and the disadvantages of immutable systems?

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Have you used Android? Has it ever failed an update or break due to an app install in a way that can’t be fixed by uninstalling it or factory resetting? Android is an immutable Linux OS. Its system files are stored on a read-only partition. They’re only mounted read-write during update. (That’s a lie, this is no longer the case, but it used to be, these days there are two partitions and the whole inactive partition is written during an update, or a volume snapshot pretending to be a partition is created and then merged, but functionally it’s consistent with the lie.) Apps are also stored in read-only form. One implication of this is that upon update, the partition/files you want to update are always in a predictable, unchanged state. That guarantees successful updates. It also allows trivial diff updates. The other implication of these facts is that you can always delete the mutable part of the OS, where your data and the apps’ data is stored, and you’ll always end up with a clean, working OS in a factory state. On Android you can also do this per-app by tapping “Clear data”.

    Wouldn’t it be nice if you desktop or server behaved like this? Some folks think so and are trying to implement it.

    There are few disadvantages beyond having to change how some systems work to accomodate this model. There’s typically more space wasted.

    • Alex@discuss.online
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      With tbis update system, I don’t understand why you can’t use your phone while doing it.

      • Wyrryel@pawb.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        You can. Google pixel updates are just a reboot. Sadly many OEMs don’t do A/B updates, like samsung, so your phone can’t be used while updating the system partition

  • Eeyore_Syndrome@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I love Universal Blue.

    It’s OCI cloud image based Fedora Silverblue/Kinoite/Serica with extra steps/batteries included.

    “The reliability of a Chromebook, but with the flexibility and power of a traditional Linux desktop.”

    But also probably an easier way for Nvidia Fedora users to game on Linux:

    Easily roll back deployments or 📌 one and rebase to something else easy peasy. (So many different choices) Test betas with no fear!

    I’ve actually been gaming on Bazzite for two weeks now:

    Jorge’s Blog:

    Media:

    If you wanna simply make your own image to share with friends/family:

    Universal Blue isn’t a distro. It’s more of a reimplementation/enhancement of Immutable OCI Cloud Based Images of Fedora.