this post was submitted on 02 Apr 2025
324 points (98.8% liked)
linuxmemes
24254 readers
2239 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wait, what? Iβm legit not familiar with immutable distros, is it like youβre only allowed to modify certain directories?
In simplified terms:
You are allowed to modify stuff but it is not actually changing the install as is.
This is achieved by different techniques like file system overlays, containerisation, btrfs snapshots and so on.
The idea is to replicate the classical behavior you know from embedded devices that have their core functionality in ROM with even firmware updates only overlayed or modern smartphones: You can modify your system but in the end there's always the possibilty to "reset to factory settings" as in: the last known working configuration.
So, baby-proofing Linux?
Iβd describe it as making computer systems reliable.
We prefer "security hardening" but yes that.... Also works lol
This kinda response is so funny to me. I've seen similar attacks on Rust, and all I can assume is either you're in the 0.01% of users who are ideal use cases and have never had an issue caused by something that could have been prevented by immutability, or you just have that crab bucket, "well I put up with the frustration, so everyone else should have to too!" mentality
I'm not even here to claim that immutability is ideal for everyone, but "haha you like to not waste your time unfucking your OS" is not the epic burn you think it is
After seeing folks on lemmy who wiped their /boot and did other funny stuff I must ask you: do you think your argument is all that righteous?
The idea of immutable distributions does not trigger me: there are valid use cases for that too. But the whole parroting of brainrot "I've got my system fucked, so immutable distros go brrrrr" sounds more and more like a band of childlike people looking for anyone to blame but themselves
I don't care if something could or could not have been prevented with immutability with my system, but I always care of the following: this next thing I am going to do with the system, am I prepared to deal with it if something goes sideways or not. Now that looks like a burn to you or what?
Kinda. Generally the user files (including custom installed applications) are on a rw partition. Whereas the system files (OS files, root folder, etc) are on a ro partition. When updates are applied to the core system they come as complete images. No compiling from source on the fly.
The advantages to this is that it should be near impossible to break your system. If you need to roll back to a previous version the system just/downloads/mounts the previous image. There is less flexibility in terms of changing system files. But the idea with immutable distros is that you shouldn't be modifying system files anyways, and there are different ways to accomplish things.
A really good example is Android. Android (non-rooted) is kinda-sorta an immutable distro. Except it uses an A/B partition method, where the active system downloads and installs to the other partition, triggers a flag, then a reboot picks up the flag and boots from the newly installed partition. If anything goes wrong, another flag is triggered and it boots from the "good" partition.
It's not quite the same, but at a high-level it kinda is.
Edit: article I found about it
https://linuxblog.io/immutable-linux-distros-are-they-right-for-you-take-the-test/
Yes, kind of.
Someone might correct me if Iβm wrong but itβs that, plus extra tooling to redirect the stuff that needs to be writable, plus more extra tooling to allow you to temporarily unlock the read-only parts in order to do system updates, plus a system updater that puts the whole system more-or-less under version control.
It's similar to using Deep Freeze on Windows where outside of specific writeable directories anything that shouldn't be changed isn't allowed to change.