▲ 194 ▼ What desktop operating system would you recommend to the average user? (thelemmy.club) submitted 6 months ago by Cantaloupe877@lemmy.world to c/asklemmy@lemmy.world 241 comments fedilink hide all child comments 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?
[–] victorz@lemmy.world 3 points 6 months ago (1 child) How can the system be upgraded at all if not even the root user has access though? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 4 points 6 months ago (1 child) And "the updater" is what? A program running as [not root]? How does it have write access if nothing does? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago* (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago (1 child) 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? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 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? permalink fedilink source parent hideshow 4 child comments replies: [–] hikaru755@lemmy.world 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 permalink fedilink source parent [–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 4 points 6 months ago (1 child) And "the updater" is what? A program running as [not root]? How does it have write access if nothing does? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago* (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago (1 child) 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? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 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? permalink fedilink source parent hideshow 4 child comments replies: [–] hikaru755@lemmy.world 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 permalink fedilink source parent [–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] victorz@lemmy.world 4 points 6 months ago (1 child) And "the updater" is what? A program running as [not root]? How does it have write access if nothing does? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago* (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago (1 child) 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? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 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? permalink fedilink source parent hideshow 4 child comments replies: [–] hikaru755@lemmy.world 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 permalink fedilink source parent [–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] mech@feddit.org 2 points 6 months ago* (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago (1 child) 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? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 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? permalink fedilink source parent hideshow 4 child comments replies: [–] hikaru755@lemmy.world 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 permalink fedilink source parent [–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] victorz@lemmy.world 2 points 6 months ago (1 child) 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? permalink fedilink source parent hideshow 2 child comments replies: [–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 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? permalink fedilink source parent hideshow 4 child comments replies: [–] hikaru755@lemmy.world 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 permalink fedilink source parent [–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] mech@feddit.org 2 points 6 months ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 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? permalink fedilink source parent hideshow 4 child comments replies: [–] hikaru755@lemmy.world 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 permalink fedilink source parent [–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] victorz@lemmy.world 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? permalink fedilink source parent hideshow 4 child comments replies: [–] hikaru755@lemmy.world 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 permalink fedilink source parent [–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] hikaru755@lemmy.world 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 permalink fedilink source parent
[–] mech@feddit.org 1 point 6 months ago (1 child) I get the feeling you're deliberately trying not to understand. Maybe read up on how it works yourself, since I don't seem to get through to you. permalink fedilink source parent hideshow 2 child comments replies: [–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent
[–] victorz@lemmy.world 2 points 6 months ago The hell? I'm trying to confirm whether I understood correctly or not. You are definitely mistaken. Never mind, I'll find someone more polite. permalink fedilink source parent