169
submitted 4 months ago by Psyhackological@lemmy.ml to c/linux@lemmy.ml

I want to learn more about file systems from the practical point of view so I know what to expect, how to approach them and what experience positive or negative you had / have.

I found this wikipedia's comparison but I want your hands-on views.

For now my mental list is

  • NTFS - for some reason TVs on USB love these and also Windows + Linux can read and write this
  • Ext4 - solid fs with journaling but Linux specific
  • Btrfs - some modern fs with snapshot capability, Linux specific
  • xfs - servers really like these as they are performant, Linux specific
  • FAT32 - limited but recognizable everywhere
  • exFAT - like FAT32 but less recognizable and less limited
you are viewing a single comment's thread
view the rest of the comments
[-] ssm@lemmy.sdf.org 11 points 4 months ago* (last edited 4 months ago)

Edit: reasons added in because I can't read the post title

  • OpenBSD laptop: ffs2, vfat for efi system partition
    • Why: Contrary to popular belief, OpenBSD does not support zfs. The only other filesystem options are msdos (fat family), and ext2fs (mostly for Linux compatibility as far as I can tell, filesystem is experimental and lacks a bunch of features according to the manpage). Makes ffs2 the only sane option.
  • OpenBSD vps: ffs2
    • Why: See above.
  • Pinephone running PmOS: ext2 boot partition, ext4 root partition
    • Why: Defaults.
  • Void Linux VM: ext2
    • Why: I prefer not having journaling on flash memory. This hasn't bitten me in the ass too hard yet, and even when it does I can usually get around system files being lost with integrity tools. Maybe I'll dabble with f2fs some day, but I'll need to read about its features and shortcomings compared to ext2.
  • Alpine Linux VM: ext4
    • Why: Would have installed as ext2 as well, but I forgot
  • Steam Deck: ??? (too lazy to check, 9/10 chance it's ext4)
[-] loutr@sh.itjust.works 8 points 4 months ago

Yes the Steam deck FS is ext4.

Why ext2 on Void?

[-] ssm@lemmy.sdf.org 4 points 4 months ago* (last edited 4 months ago)

I prefer not using journaling filesystems on flash memory, I haven't had any major data integrity issues yet because of it. I would have made the Alpine fs ext2 as well, but I guess I missed it during install. I think you can just disable journaling in ext4 anyways, so if I care enough I'll just do that.

this post was submitted on 08 Aug 2024
169 points (97.2% liked)

Linux

48700 readers
1844 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