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?

  • Victor@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    2 days ago

    I don’t get the appeal of immutability. System files are read-only for users for a reason already. Don’t modify them as root unless you know what you’re doing and you’ll be fine.

    What am I missing?

    (Also gaming for a 78 year old, meh.)

    • mech@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Making them immutable for everyone protects users who enter their password in prompts without thinking.

        • mech@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          The updater downloads an updated copy of your root system and saves it next to the one you’re running.
          When you reboot the next time, the bootloader boots from that new system image.
          Userspace applications are installed as flatpaks and sit in a writeable directory.

          • Victor@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            1 day ago

            And “the updater” is what? A program running as [not root]? How does it have write access if nothing does?

            • mech@feddit.org
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              1 day ago

              It’s the package manager. And it doesn’t have write access to your installed root either.
              It doesn’t change anything on your installed file system at all, it installs a new system next to it.

              • Victor@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                1 day ago

                So it installs a whole new filesystem? Interesting. That feels like it sets limitations on how well you can take advantage of the full space of your hard drive.

                And this action can only be performed by the package manager running under some magical God user that sits above root? Or some other mechanism?

                • mech@feddit.org
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 day ago

                  It utilizes the copy-on-write functionality of the BTRFS file system.
                  So it doesn’t need double the disk space, it only actually writes the differences between your installed system and the new one.
                  And it runs normally with sudo, not some special god user.
                  You could do it manually, too.

                  • Victor@lemmy.world
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    1 day ago

                    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?

    • gigachad@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 days ago

      I’m not an immutable guy, but from what I heard it’s more of a way to address programs and dependency hell, less the user modifying system code. Correct me if I am wrong