this post was submitted on 04 May 2024
117 points (96.1% liked)

Linux

48652 readers
1112 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
 

Just a simple question : Which file system do you recommend for Linux? Ext4...?

EDIT : Thanks to everyone who commented, I think I will try btrfs on my root partition and keep ext4 for my home directory 😃

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

In my opinion, it depends. If a distro has BTRFS configured to automatically take a snapshot when upgrading (like OpenSuse Tumbleweed), then BTRFS.

If not, for a beginner, ext4 + timeshift to take snapshots of your system in case an upgrade goes wrong will be fine.

[–] [email protected] 0 points 7 months ago

Mint doesn’t default to btrfs, but will use it if you so choose during install. And it integrates fantastically with Timeshift. I’ve set up daily and weekly snapshots and have peace of mind.

[–] [email protected] 0 points 7 months ago (2 children)

But you can also just use BTRFS without any fancy setup and not use its features, it will still be faster.

[–] [email protected] 6 points 7 months ago

Btrfs has many advantages over ext4, but being faster isn't one of them.

[–] eager_eagle 1 points 7 months ago* (last edited 7 months ago) (2 children)

Btrfs is slower than ext4, xfs, and f2fs in pretty much every metric. Noticeably slower app opening times is the reason I switched to F2FS for good.

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

Very interesting. I heard F2FS has no journalling, but afaik Fedora Atomic doesnt rely on it?

It might be worth looking into, as it beat many tests.

[–] [email protected] 1 points 7 months ago (1 children)

Edit: BTRFS has advantages that likely make it better for me.

It has compression and allows flexible partition sizes. The compression may explain the speed decreases.

[–] eager_eagle 1 points 7 months ago (1 children)

Compression might be useful in some cases, but the bulk of my data is already compressed or not much compressible (think videos, images, compressed archives, game assets). So the trade off doesn't make much sense to me.

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

That is true, not for Flatpaks but for sure.

I wonder how much of a pain it would be not having BTRFS subvolumes on atomic Fedora. Will try F2FS in a VM.