25
submitted 3 years ago by riaplus8@lemm.ee to c/linux@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] throwawayish@lemmy.ml 11 points 3 years ago* (last edited 3 years ago)

Eg, how do I alter a file, say /etc/fstsb, in Fedora Silverblue, Nitrux, BlendOS etc?

I'll answer for Fedora Silverblue as it's the only one I'm confident about. So, by default, both /etc and /var are writable. Furthermore a lot of traditionally writable parts (like /home) are contained within /var as well. So say you'd want to edit /etc/fstab (which I've done in the past), then you'd literally do it the very same way you'd do it on non-'immutable' distros. So; copy (the content of) /etc/fstab, change whatever you want and sudo cp the modified file to /etc/fstab and you're done.

Perhaps interesting to point out is that, on Fedora Silverblue, all changes compared to the pristine copy of /etc (which is kept in /usr/etc) are being tracked and can even be accessed with ostree admin config-diff. Note that 'traditionally' the contents of /usr has been one of the harder parts to modify on Fedora Silverblue and I'd argue the average Joe should not engage with it as it's very easy to mess up. However, uBlue actually enables one to engage relatively easily with those harder to modify parts. And the amount of configurability it allows should definitely put anyone to shame that continues to posit that "immutable is inflexible".

[-] technohacker@programming.dev 2 points 3 years ago

Oh crap thanks for letting me know about config-diff! I've always wondered if silverblue could tell me what files I've changed

this post was submitted on 30 Aug 2023
25 points (96.3% liked)

Linux

18923 readers
305 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS