this post was submitted on 15 Feb 2024
13 points (81.0% liked)

Linux

48185 readers
1332 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I installed Fedora 39 on an old iMac I had with a fusion drive (128GB SSD +1TB spinning disk.)

Fedora is installed on the SSD, and I want to use the spinning disk as a media drive. Problem is, it does not mount by default, so I figure I need to edit /etc/fstab to have it mount at startup.

I’m at work so I SSH into the iMac and get the UUID for the disk and then open fstab in vi, enter the new line with the uuid, directory I want the drive mounted in (/media), the filesystem (ext4) and the options. Try to write and quit, get an error the file is readonly. Try to set the file to noreadonly, write fails again. Try :wq! and get the error the file cannot be opened to write.

Exit vi, ls -la and see the file is read-only.

sudo chmod 644 fstab, put in password. ls -la shows file is still read only. lsattr fstab, immutable flag is not set.

Is this happening because I’m on SSH, or is there some other issue?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 9 months ago (3 children)

It was my understanding that btrfs is still new-ish and has some kinks to work out. Ext4 is pretty well understood at this point.

[–] [email protected] 2 points 9 months ago

I use BTRFS and even have convenient Snapper snapshotting set up. It works great. Here is a whole step by step guide on how to set up your system with it: https://sysguides.com/install-fedora-with-snapshot-and-rollback-support

[–] [email protected] 1 points 9 months ago

No its very well established. In general its just like ext4 but a bit better I suppose. If you do a custom setup you will need to manually setup things like specific caching etc to really use it.

As distros still make you think that (Kubuntu still defaults to Xorg!) of course people think btrfs is not ready, while it never gave me a single problem