228
submitted 11 months ago* (last edited 11 months ago) by rutrum@lm.paradisus.day to c/linux@lemmy.ml

You know, ZFS, ButterFS (btrfs...its actually "better" right?), and I'm sure more.

I think I have ext4 on my home computer I installed ubuntu on 5 years ago. How does the choice of file system play a role? Is that old hat now? Surely something like ext4 has its place.

I see a lot of talk around filesystems but Ive never found a great resource that distiguishes them at a level that assumes I dont know much. Can anyone give some insight on how file systems work and why these new filesystems, that appear to be highlights and selling points in most distros, are better than older ones?

Edit: and since we are talking about filesystems, it might be nice to describe or mention how concepts like RAID or LUKS are related.

you are viewing a single comment's thread
view the rest of the comments
[-] i_am_not_a_robot@feddit.uk 11 points 11 months ago

I use f2fs on my Raspberry Pis, it's designed for flash storage and appears to have much better performance than ext4 on the same device. I'm not sure whether it's suitable for SSDs, or just SD cards and USB (these devices are optimised for FAT and f2fs utilises that optimisation). When I tried to use f2fs on a proper laptop it was too early and the distro didn't support booting from it. I assume that has changed now.

As for the others, I usually stick with ext4 as I've never seen a compelling reason not to.

[-] Chewy7324@discuss.tchncs.de 2 points 11 months ago* (last edited 11 months ago)

Interesting. f2fs supports file-based encryption and compression. It is designed for flash and is used for many smartphones.

[-] i_am_not_a_robot@feddit.uk 1 points 11 months ago

What I missed mentioning is it does wear-levelling so as its name suggests it is "flash friendly" and stops SD cards wearing out so quickly.

[-] aBundleOfFerrets@sh.itjust.works 2 points 11 months ago* (last edited 11 months ago)

I don’t believe this is true. F2FS is still meant for use on devices with a FTL (flash transition layer) meaning that the device is doing wear leveling itself and a filesystem doing it twice is redundant and counter-productive. The flash-friendly part is referring to other filesystem features (there are many)

[-] i_am_not_a_robot@feddit.uk 2 points 11 months ago

I bow to your superior knowledge. It definitely doesn't wear out SD cards as quickly though, but that might be due to other factors not wear levelling.

this post was submitted on 07 Dec 2023
228 points (96.3% liked)

Linux

48021 readers
996 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