this post was submitted on 08 Aug 2024
161 points (97.6% liked)

Linux

48721 readers
916 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 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
(page 4) 50 comments
sorted by: hot top controversial new old
[–] mindbleach@sh.itjust.works 2 points 4 months ago

NTFS for the drive I had before jumping to Mint. Currently reporting several hundred gigabytes free, but refusing to make any new files, because... I don't know. I'll deal with it after an upcoming move.

The OS / home SSD is ext4, and so is the fat loud hard disk I recently purchased through an entire month of fighting Amazon over gift cards.

[–] eager_eagle@lemmy.world 2 points 4 months ago (4 children)

F2FS, because solid state and speed

load more comments (4 replies)
[–] voracread@lemmy.world 2 points 4 months ago (1 children)

I tried exFAT for my USB stick but car sterio cannot read it.

load more comments (1 replies)
[–] Takios@discuss.tchncs.de 2 points 4 months ago (2 children)

We use btrfs for the / partition and xfs for any data partitions. Has served us well, the snapshot feature saves us some valuable time when an update goes awry.

load more comments (2 replies)
[–] wazzupdog@lemmy.blahaj.zone 2 points 4 months ago

Depends on the device and the use case, mostly FAT32, exFAT, NTFS, EXT4

[–] juliusspencer@friendica.eskimo.com 2 points 4 weeks ago* (last edited 4 weeks ago)

How well a file system recovers from crashes or corruption.
fall guys

[–] ampersandcastles@lemmy.ml 1 points 4 months ago

My regular computer is ext4.

I assume my raspberry pi is ext4, but I've never checked what DietPi runs as default. It works fine.

My 720xd is ext4 on the OS drives, but the storage drives are ZFS with dual parity.

[–] Darkassassin07@lemmy.ca 1 points 4 months ago

I wish I'd actually chosen a file system instead of just letting window's at the time default to NTFS for external drives.

Moving from Windows to Debian; NTFS has been nothing but a headache. I've actually had to setup a windows machine to serve that drive pool via SAMBA as Linux just won't play nicely with it.

[–] sgibson5150@slrpnk.net 1 points 4 months ago (3 children)

Random thoughts, no particular order

I think btrfs was the default the last time I installed Bazzite, but I don't really know anything about it so I switched it to ext4. I understand the snapshot ability is nice with rolling release distros, though.

It'd been ages since I'd used FAT32 for anything until I made a Debian live USB when I was setting up my pi-hole on an old Core2Duo recently. It would only boot on FAT32 for reasons I probably once knew. 😆

NTFS was an improvement over the FATs what with the journaling, security, file streams, etc. I use it wherever I still use Windows (work).

Most of my general purpose USB flash drives use exFAT. I like not having to worry about eject/unmount.

[–] Jesus_666@lemmy.world 2 points 4 months ago (1 children)

NTFS feels rock solid if you use only Windows and extremely janky if you dual-boot. Linux currently can't really fix NTFS volumes and thus won't mount them if they're inconsistent.

As it happens, they're inconsistent all the time. I've had an NTFS volume become dirty after booting into Windows and then shutting down. Not a problem for Windows but Linux wouldn't touch the volume until I'd booted into Windows at least once.

I finally decided to use a storage upgrade to move most drives to Btrfs save for the Windows system volume and a shared data partition that's now on ExFAT because it's good enough for it.

[–] rotopenguin@infosec.pub 2 points 4 months ago (1 children)

By default, windows does "Fast Boot" which doesn't make booting any faster, but does have the benefit of leaving the volume in a mounted state when you shut it down.

[–] Jesus_666@lemmy.world 1 points 4 months ago

Oh, right. Fast Boot. I forgot about that bundle of joy.

But that's wasn't the only instance of an NTFS volume suddenly being broken. Another favorite was when I shrunk a volume on one disk from Linux (and then remembered that Windows correspond done it better) and rebooted to have it fixed and Windows proceeded to repair one on a different disk.

load more comments (2 replies)
[–] rem26_art@fedia.io 1 points 4 months ago

I've got Btrfs on my desktop for the OS drive cuz that was what Fedora recommended when I was installing it. It took a bit of effort to get snapshots working properly, but other than that, I've had no issues with it at all over the past year. I've got an exFAT drive and an NTFS drive in there that are kind of leftovers from using Windows. I've been thinking about reformatting the exFAT drive to ext4 or something, since all it really does is store games, and having the ability to symlink to it would be nice.

I've got a TrueNAS machine as well and that uses ZFS for pretty much everything.

load more comments
view more: ‹ prev next ›