Group: Software/FSDG distributions/Filesystems

From LibrePlanet
< Group:Software‎ | FSDG distributions
Revision as of 10:58, 5 September 2025 by GNUtoo (talk | contribs) (General comparison: clarify btrfs safety)
Jump to: navigation, search

Introduction

This article is about filesystems support and might be extended to take into account block device technologies too like LVM,RAID, etc.

Choosing a filesystem

Using the default filesystem currently proposed during the installation of your distribution is a good idea. It makes sure that the filesystem is properly integrated and that the distribution trusts it enough (with data integrity, and security[1]) to propose it by default.

Known issues and limitations

  • With NTFS the free software implementation lacks the ability to repair the filesystem without nonfree software, so if you have data in NTFS filesystem it would be a good idea to move it to other filesystems.
  • ReiserFS 3 was removed from Linux in 2025.[2]

General comparison

Filesystem protection against data corruption
btrfs Less safe (status from September 2025)[3]
ext2, ext3, ext4 safest

Defaults

The defaults filesystems used are often a good indication of what filesystems are best supported by the distribution.

Distribution Defaults Comments
Dragora 3.0 beta2
Instal/l method Boot software Default filesystem
Graphical installer BIOS ext3
In the graphical installer, the "FILE SYSTEM SELECTION" default choice is set to ext3. Beside that there is no defaults for the partitioning.
Dynebolic
Guix 1.4.0
Install method Boot software Partitions
Graphical installer BIOS bios_grub swap /
not encrypted not encrypted not encrypted
N/A swap ext4
Hyperbola
LibreCMC
Parabola
ProteanOS
PureOS 10 (byzantium)
Install method Boot software Partitions
Graphical installer BIOS /boot /
not encrypted LUKS
ext4 ext4
  • In the graphical installer, encryption is mandatory when selecting "Erase disk", but it can be avoided when using manual partitioning.
Replicant 6.0
Trisquel 10 (nabia)
Ututo S

Filesystems

Distributions
Dragora 3.0 beta2 Dynebolics Guix i686-linux and x86_64-linux (x86 GNU/Linux) Guix i586-gnu (HURD) Hyperbola LibreCMC Parabola ProteanOS PureOS 10 (byzantium) Replicant 6.0 Trisquel 11 (aramo) Ututo S
btrfs
Packages Yes:

tools/btrfs-progs

Rootfs with the graphical installer Yes
Packages Yes:

btrfs-progs

Guix system[4] Yes
Installer Yes
Rootfs Yes
Packages and manual installation[5] Yes:

btrfs-progs

Graphical installer
Rootfs Yes
Packages and debootstrap installation[5] Yes:

btrfs-progs

Graphical installer No
Rootfs with the graphical installer No
erofs
Implementation
kernel fuse
Packages Yes:

erofs-utils and linux-libre

No
Guix system[4] No No
Installer No No
Implementation
kernel fuse
Packages Yes:

erofs-utils

Yes:

erofsfuse,

erofs-utils

Rootfs ? ?
Implementation
kernel fuse
Packages Yes:

erofs-utils and linux-libre

No
Rootfs ? No
exfat
Packages No
Rootfs with the graphical installer No
Implementation
kernel fuse
Packages Yes:

exfatprogs

Yes:

exfat-utils

Installer No No
Implementation
kernel fuse
Packages Yes:

exfatprogs

Yes:

exfat-utils

Implementation
kernel fuse
Packages Yes:

exfatprogs

Yes:

exfat-fuse,

exfat-utils

Graphical installer Yes No
Rootfs with the graphical installer Broken[6] No
Implementation
kernel fuse
Internal partitions No Yes
Rootfs No No
MicroSD card No Yes
ext2
Packages Yes:

tools/e2fsprogs

Rootfs with the graphical installer Yes
Packages Yes:

e2fsprogs

Guix system[4]
Installer No
Rootfs
Packages Yes:

e2fsprogs

Guix system[4] Yes
Installer N/A[7]
Rootfs Yes
Packages Yes:

e2fsprogs

ext3
Packages Yes:

tools/e2fsprogs

Rootfs with the graphical installer Yes
Packages Yes:

e2fsprogs

Installer No
Packages Yes:

e2fsprogs

ext4
Packages Yes:

tools/e2fsprogs

Rootfs with the graphical installer Yes
Packages Yes:

e2fsprogs

Guix system[4] Yes
Installer Yes
Rootfs Yes
Packages and manual installation[5] Yes: e2fsprogs
Rootfs Yes
Packages and manual installation[5] Yes:

e2fsprogs

Graphical installer
Rootfs Yes
Packages and debootstrap installation[5] Yes:

e2fsprogs

Graphical installer Yes
Rootfs with the graphical installer Yes
Internal partitions Yes
Rootfs Yes
MicroSD card No[8]
Packages and debootstrap installation[5] Yes:

e2fsprogs

Graphical installer
Rootfs Yes
f2fs
Packages No
Rootfs with the graphical installer No
Packages Yes:

f2fs-tools

Guix system[4] Yes
Installer No
Rootfs Yes
Packages and manual installation[5] Yes:

f2fs-tools

Graphical installer
Rootfs Yes
Packages and debootstrap installation[5] Yes:

f2fs-tools

Graphical installer No
Rootfs with the graphical installer No
Internal partitions Yes
Rootfs ?
MicroSD card Yes[9]
fat
Packages Yes:

tools/dosfstools

Rootfs with the graphical installer No
Packages Yes:

dosfstools,

mtools

Guix system[4] Yes
Installer Yes
Rootfs No
Packages Yes:

dosfstools,

mtools

Guix system[4] Yes
Installer N/A[7]
Rootfs No
Packages and manual installation[5] Yes:

dosfstools,

mtools

Graphical installer
Rootfs No
Packages Yes:

dosfstools,

mtools

Graphical installer Yes
Rootfs with the graphical installer Broken[10]
Internal partitions Yes
Rootfs No
MicroSD card Yes
hfs
Packages No
Rootfs with the graphical installer No
No[11] No[12] No[13]
Packages Yes:

hfsutils

Graphical installer No
Rootfs with the graphical installer No
No[14]
Packages Yes:

hfsutils

Graphical installer ?
Rootfs with the graphical installer ?
hfs+
Packages No
Rootfs with the graphical installer No
No[15] No[16] No[17]
Packages Yes:

hfsplus

Graphical installer No
Rootfs with the graphical installer No
No[18]
Packages Yes:

hfsplus

Graphical installer ?
Rootfs with the graphical installer ?
jfs
Packages No
Rootfs with the graphical installer No
Packages Yes:

jfsutils

Guix system[4] Yes
Installer Yes
Rootfs Yes
Packages Yes:

jfsutils

Packages Yes:

jfsutils

Graphical installer No
Rootfs with the graphical installer No
minix
Packages Yes:

tools/util-linux

Rootfs with the graphical installer No
Packages Yes:

util-linux

Installer No
Packages Yes:

util-linux

Packages Yes:

util-linux

Graphical installer Yes
Rootfs with the graphical installer Broken[19]
nilfs2
Packages No
Rootfs with the graphical installer No
Packages Yes:

nilfs-utils

Guix system[4] ?
Installer No
Rootfs ?
Packages Yes:

nilfs-utils

Packages Yes:

nilfs-tools

Graphical installer No
Rootfs with the graphical installer No
ntfs
Packages Yes:

tools/ntfs-3g

Rootfs with the graphical installer No
Packages Yes:

ntfs-3g

Guix system[4] ?
Installer Broken[20]
Rootfs Broken[21]
Packages Yes:

ntfs-3g

Implementation
kernel fuse
Packages Yes:

ntfs-3g

Graphical installer No[22] Yes
Rootfs with the graphical installer Broken[23]
reiser4
Packages Yes:

tools/reiser4progs

Rootfs with the graphical installer No
Kernel No[24]
Packages No
Graphical installer No
Rootfs with the graphical installer No
Kernel No[24]
Packages No
Graphical installer
Rootfs
Kernel No[24]
Packages Yes: reiser4progs
Graphical installer No
Rootfs with the graphical installer No
reiserfs
Kernel Until 2025[2]
Packages No
Rootfs with the graphical installer No
Kernel Until 2025[2]
Packages No
Graphical installer No
Rootfs with the graphical installer No
Kernel Until 2025[2]
Packages No
Graphical installer
Rootfs
Kernel Until 2025[2]
Packages Yes:

reiserfsprogs

Graphical installer No
Rootfs with the graphical installer No
xfs
Packages Yes:

tools/xfsprogs

Rootfs with the graphical installer Yes
Packages Yes:

xfsprogs

Guix system[4] Yes
Installer Yes
Rootfs Yes
Packages Yes:

xfsprogs,

xfsdump

Packages Yes:

xfsprogs,

xfsdump

Graphical installer No
Rootfs with the graphical installer No
Dragora 3.0 beta2 Dynebolics Guix i686-linux and x86_64-linux (x86 GNU/Linux) Guix i586-gnu (HURD) Hyperbola LibreCMC Parabola ProteanOS PureOS 10 (byzantium) Replicant 6.0 Trisquel 11 (aramo) Ututo S
Distributions

More detailed Guix status

Guix has many areas where only some filesystems are supported. Because of that making a more detailed status about that is interesting.

Filesystems guix system: operating-system: file-systems guix system image
btrfs yes:rootfs[25] Yes
ext2 Yes Yes
ext3 Yes Yes
ext4 yes:rootfs[25] Yes
F2FS yes:rootfs[25] No
FAT16 Yes Yes
FAT32 Yes Yes
JFS yes:rootfs[25] No
XFS yes:rootfs[25] No

Block device layer

Distributions
Dragora Dynebolics Guix i686-linux and x86_64-linux (x86 GNU/Linux) Guix i586-gnu (HURD) Hyperbola LibreCMC Parabola ProteanOS PureOS 10 (byzantium) Replicant 6.0 Trisquel 11 (aramo) Ututo S
dmraid
LUKS 1
Packages and manual installation[5] Yes:

cryptsetup

Graphical installer
Rootfs Yes
Yes Yes
LUKS 2
Packages and manual installation[5] Yes:

cryptsetup

Graphical installer
Rootfs Yes but requires a /boot as GRUB only has partial LUKS2 support
Yes Yes
mdraid
LVM2
Packages and manual installation[5] Yes:

lvm2

Graphical installer
Rootfs Yes
Yes Yes

References

  1. See the Unmaintained filesystems as a threat vector lwn.net article for more details.
  2. 2.02.12.22.32.4 The Linux kernel documentation for the REISERFS_FS option tells that:
    Reiserfs is deprecated and scheduled to be removed from the kernel
    in 2025. If you are still using it, please migrate to another
    filesystem or tell us your usecase for reiserfs.
    In practice it is not available anymore since Linux 6.13, so if you need to migrate your data, you will need to use in one way or another Linux 6.12 or earlier. kenrel.org lists the versions currently maintained and it is also possible to install (older) GNU/Linux distributions that ship a Linux version earlier than 6.13.
  3. According to the Bcachefs maintainer, the 30 August 2025, "btrfs is still eating filesystems - they may be better than they were, but I still see reports regularly, and they don't seem to be taking reliability seriously"
  4. 4.004.014.024.034.044.054.064.074.084.094.104.11 This tells if that filesystem can be used in a system.scm system definition.
  5. 5.005.015.025.035.045.055.065.075.085.095.105.11 Since users simply run commands manually during the manual installation, they can easily use the (packaged) tools to create new filesystems and add them to /etc/fstab for automatic mounting.
  6. The installation fails with an error.
  7. 7.07.1 There is no HURD installer yet.
  8. After creating the rootfs with mkfs.ext4 from Guix, in Replicant, it says "Corrupted <vendor> SD card" in the notification bar.
  9. We can easily view the card content with "File Manager". It also detects a new MicroSD card when it is just formatted.
  10. The installation fails with an error.
  11. There is no hfsutils package.
  12. There is no hfsutils package.
  13. There is no hfsutils package.
  14. There is no hfsutils repository in the manifest.
  15. There is no hfsprogs package.
  16. There is no hfsprogs package.
  17. There is no hfsprogs package.
  18. There is no hfsprogs repository in the manifest.
  19. The installation fails with an error.
  20. The graphical installer complains about some UUID related issue
  21. In the graphical installer, the installation fails with: "The installer has encountered an unexpected problem. [...]", and we then get a stacktrace. If we manually install with the same system.scm we'd probably get the exact same stacktrace.
  22. Once installed, the rootfs is mounted with FUSE and ntfs-3g.
  23. The installation succeeds, but then sudo and policykit are broken due to wrong permissions. So users can't install any software. It's also a very bad idea to use NTFS since there is at the time of writing no way to safely repair corrupted NTFS filesystems with free software: The only tools we have are in ntfs-3g and they are way too experimental and dangerous so they are probably not shipped by any distribution.
  24. 24.024.124.2 According to the reiser 4 wiki, upstream Linux has no reiser4 support.
  25. 25.025.125.225.325.4 https://guix.gnu.org/manual/devel/en/guix.html#FOOT10