Group: Software/FSDG distributions/Filesystems

From LibrePlanet
Jump to: navigation, search
(Block device layer: Convert to use DistroPackage template)
(use DistroPackage template for remaining packages)
Line 180: Line 180:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: exfatprogs}}
+
  | {{yes|Yes: {{DistroPackage|pureos|exfatprogs}}}}
  | {{yes|Yes: exfat-fuse, exfat-utils}}
+
  | {{yes|Yes: {{DistroPackage|pureos|exfat-fuse}}, {{DistroPackage|pureos|exfat-utils}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 224: Line 224:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: e2fsprogs}}
+
  | {{yes|Yes: {{DistroPackage|guix|e2fsprogs}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 240: Line 240:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: e2fsprogs}}
+
  | {{yes|Yes: {{DistroPackage|guix|e2fsprogs}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 268: Line 268:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: e2fsprogs}}
+
  | {{yes|Yes: {{DistroPackage|guix|e2fsprogs}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 310: Line 310:
 
  |-
 
  |-
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
  | {{yes|Yes: e2fsprogs}}
+
  | {{yes|Yes: {{DistroPackage|pureos|e2fsprogs}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 336: Line 336:
 
  |-
 
  |-
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
  | {{yes|Yes: e2fsprogs}}
+
  | {{yes|Yes: {{DistroPackage|trisquel|e2fsprogs}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 354: Line 354:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: f2fs-tools}}
+
  | {{yes|Yes: {{DistroPackage|guix|f2fs-tools}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 387: Line 387:
 
  |-
 
  |-
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
  | {{yes|Yes: f2fs-tools}}
+
  | {{yes|Yes: {{DistroPackage|pureos|f2fs-tools}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 420: Line 420:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: dosfstools, mtools}}
+
  | {{yes|Yes: {{DistroPackage|guix|dosfstools}}, {{DistroPackage|guix|mtools}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 439: Line 439:
 
  |-
 
  |-
 
  ! Packages and manual installation<ref name="manual-installation"></ref>
 
  ! Packages and manual installation<ref name="manual-installation"></ref>
  | {{yes|Yes: dosfstools, mtools}}
+
  | {{yes|Yes: {{DistroPackage|parabola|dosfstools}}, {{DistroPackage|parabola|mtools}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 453: Line 453:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: dosfstools, mtools}}
+
  | {{yes|Yes: {{DistroPackage|pureos|dosfstools}}, {{DistroPackage|pureos|mtools}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 492: Line 492:
 
  |-
 
  |-
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
  | {{yes|Yes: hfsutils}}
+
  | {{yes|Yes: {{DistroPackage|pureos|hfsutils}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 506: Line 506:
 
  |-
 
  |-
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
  | {{yes|Yes: hfsutils}}
+
  | {{yes|Yes: {{DistroPackage|pureos|hfsutils}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 530: Line 530:
 
  |-
 
  |-
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
  | {{yes|Yes: hfsplus}}
+
  | {{yes|Yes: {{DistroPackage|pureos|hfsplus}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 544: Line 544:
 
  |-
 
  |-
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
 
  ! Packages and debootstrap installation<ref name="manual-installation"></ref>
  | {{yes|Yes: hfsplus}}
+
  | {{yes|Yes: {{DistroPackage|trisquel|hfsplus}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 562: Line 562:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: jfsutils}}
+
  | {{yes|Yes: {{DistroPackage|guix|jfsutils}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 583: Line 583:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: jfsutils}}
+
  | {{yes|Yes: {{DistroPackage|pureos|jfsutils}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 609: Line 609:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: util-linux}}
+
  | {{yes|Yes: {{DistroPackage|pureos|util-linux}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 629: Line 629:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: nilfs-utils}}
+
  | {{yes|Yes: {{DistroPackage|guix|nilfs-utils}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 650: Line 650:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: nilfs-tools}}
+
  | {{yes|Yes: {{DistroPackage|pureos|nilfs-tools}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 669: Line 669:
 
  |- bgcolor="#6699ff"
 
  |- bgcolor="#6699ff"
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: ntfs-3g}}
+
  | {{yes|Yes: {{DistroPackage|guix|ntfs-3g}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 696: Line 696:
 
  ! Packages
 
  ! Packages
 
  |
 
  |
  | {{yes|Yes: ntfs-3g}}
+
  | {{yes|Yes: {{DistroPackage|pureos|ntfs-3g}}}}
 
  |-
 
  |-
 
  ! Graphical installer  
 
  ! Graphical installer  
Line 810: Line 810:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: reiserfsprogs}}
+
  | {{yes|Yes: {{DistroPackage|guix|reiserfsprogs}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer
Line 830: Line 830:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: xfsprogs}}
+
  | {{yes|Yes: {{DistroPackage|guix|xfsprogs}}}}
 
  |-
 
  |-
 
  ! Guix system<ref name="guix-system"></ref>
 
  ! Guix system<ref name="guix-system"></ref>
Line 851: Line 851:
 
  |-
 
  |-
 
  ! Packages
 
  ! Packages
  | {{yes|Yes: xfsprogs, xfsdump}}
+
  | {{yes|Yes: {{DistroPackage|pureos|xfsprogs}}, {{DistroPackage|pureos|xfsdump}}}}
 
  |-
 
  |-
 
  ! Graphical installer
 
  ! Graphical installer

Revision as of 13:18, 10 September 2023

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 will be removed from Linux in 2025.[2]

Defaults

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

Distribution Defaults Comments
Dragora
Dynebolic
Guix
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 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 10 (nabia) Ututo S
btrfs
Packages Yes:

btrfs-progs

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

btrfs-progs

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

btrfs-progs

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

exfatprogs

Yes:

exfat-fuse,

exfat-utils

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

e2fsprogs

Guix system[3]
Installer
Rootfs
Packages Yes:

e2fsprogs

Guix system[3] Yes
Installer N/A[6]
Rootfs Yes
ext4
Packages Yes:

e2fsprogs

Guix system[3] Yes
Installer Yes
Rootfs Yes
Packages and manual installation[4] Yes: e2fsprogs
Rootfs Yes
Packages and manual installation[4] Yes: e2fsprogs
Graphical installer
Rootfs Yes
Packages and debootstrap installation[4] Yes:

e2fsprogs

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

e2fsprogs

Graphical installer
Rootfs Yes
f2fs
Packages Yes:

f2fs-tools

Guix system[3] Yes
Installer No
Rootfs Yes
Packages and manual installation[4] Yes: e2fsprogs
Graphical installer
Rootfs Yes
Packages and debootstrap installation[4] Yes:

f2fs-tools

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

dosfstools,

mtools

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

dosfstools,

mtools

Graphical installer
Rootfs No
Packages Yes:

dosfstools,

mtools

Graphical installer Yes
Rootfs with the graphical installer Broken[9]
Internal partitions Yes
Rootfs No
MicroSD card Yes
hfs No[10] No[11] No[12]
Packages and debootstrap installation[4] Yes:

hfsutils

Graphical installer No
Rootfs with the graphical installer No
No[13]
Packages and debootstrap installation[4] Yes:

hfsutils

Graphical installer ?
Rootfs with the graphical installer ?
hfs+ No[14] No[15] No[16]
Packages and debootstrap installation[4] Yes:

hfsplus

Graphical installer No
Rootfs with the graphical installer No
No[17]
Packages and debootstrap installation[4] Yes:

hfsplus

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

jfsutils

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

jfsutils

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

util-linux

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

nilfs-utils

Guix system[3] ?
Installer ?
Rootfs ?
Packages Yes:

nilfs-tools

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

ntfs-3g

Guix system[3] ?
Installer Broken[19]
Rootfs Broken[20]
Implementation
kernel fuse
Packages Yes:

ntfs-3g

Graphical installer No[21] Yes
Rootfs with the graphical installer Broken[22]
reiser4
Kernel No[23]
Packages No
Graphical installer No
Rootfs with the graphical installer No
Kernel No[23]
Packages No
Graphical installer
Rootfs
Kernel No[23]
Packages Yes: reiser4progs
Graphical installer No
Rootfs with the graphical installer No
reiserfs
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:

xfsprogs

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

xfsprogs,

xfsdump

Graphical installer No
Rootfs with the graphical installer No
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 10 (nabia) Ututo S
Distributions

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[4] Yes:

cryptsetup

Graphical installer
Rootfs Yes
Yes Yes
LUKS 2
Packages and manual installation[4] 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[4] 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.3 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.
  3. 3.03.13.23.33.43.53.63.73.83.9 This tells if that filesystem can be used in a system.scm system definition.
  4. 4.004.014.024.034.044.054.064.074.084.094.104.114.124.134.144.15 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.
  5. The installation fails with an error.
  6. There is no HURD installer yet.
  7. After creating the rootfs with mkfs.ext4 from Guix, in Replicant, it says "Corrupted <vendor> SD card" in the notification bar.
  8. We can easily view the card content with "File Manager". It also detects a new MicroSD card when it is just formatted.
  9. The installation fails with an error.
  10. There is no hfsutils package.
  11. There is no hfsutils package.
  12. There is no hfsutils package.
  13. There is no hfsutils repository in the manifest.
  14. There is no hfsprogs package.
  15. There is no hfsprogs package.
  16. There is no hfsprogs package.
  17. There is no hfsprogs repository in the manifest.
  18. The installation fails with an error.
  19. The graphical installer complains about some UUID related issue
  20. 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.
  21. Once installed, the rootfs is mounted with FUSE and ntfs-3g.
  22. 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.
  23. 23.023.123.2 According to the reiser 4 wiki, upstream Linux has no reiser4 support.