this post was submitted on 04 May 2024
122 points (96.9% liked)

Linux

48344 readers
441 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
[–] Mereo@lemmy.ca 47 points 6 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.

[–] boredsquirrel@slrpnk.net 1 points 6 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.

[–] narc0tic_bird@lemm.ee 6 points 6 months ago

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

[–] eager_eagle@lemmy.world 1 points 6 months ago* (last edited 6 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.

[–] boredsquirrel@slrpnk.net 1 points 6 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.

[–] boredsquirrel@slrpnk.net 1 points 6 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@lemmy.world 1 points 6 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.

[–] boredsquirrel@slrpnk.net 1 points 6 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.

[–] acockworkorange@mander.xyz 0 points 6 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.