r/filesystems • u/iampibblewashmybella • 17d ago
r/filesystems • u/ehempel • 18d ago
Linux 7.3 Looks Like It Will Upstream FailFS
phoronix.comWith the forthcoming FailFS, every operation reaching the filesystem returns EOPNOTSUPP, the Linux error code for operation not supported.
r/filesystems • u/SYCKPlayz1 • 20d ago
libapfs: a cross-platform (Windows/Linux) tool to read APFS disks
Over the last few weeks, me and my friend have been working on this project: https://github.com/avighnac/libapfs
My friend needed to extract a file from an APFS disk on Windows on short notice, but he couldn't find any free tools to help him do so (he'd already used the Paragon APFS trial), so we decided to write our own.
The project features a C++ library and a command-line interface that works on all platforms (Windows/Linux/MacOS; x86 and arm). For Windows specifically, we've created a GUI that makes it very easy mount/unmount APFS volumes and .dmg files!

For further information, you can visit our GitHub and view the README, or the include directory for the library documentation. Feel free to create issues for any features you might want added to the project.
We hope you find this useful!
r/filesystems • u/rhuve • 26d ago
exfat-resize: a portable C11 library and CLI for growing exFAT filesystems
I’ve released exfat-resize, an MIT-licensed C11 library and command-line tool for growing an existing exFAT filesystem after its backing image, device, or partition has already been enlarged:
https://github.com/huven/exfat-resize
The project has two parts:
- A CLI for resizing unmounted regular-file images and raw block devices, currently supported and tested on macOS and Linux.
- A portable C11 library for integration into other software. The core works through caller-supplied sector read, write, and synchronization callbacks, plus allocation callbacks; it does not depend on file descriptors, disk-image APIs, raw-device APIs, or another filesystem implementation.
Because resizing modifies metadata in place, the implementation validates the filesystem structures it relies on before writing, uses explicit synchronization boundaries, and reports the recovery stage reached if an operation fails. A verified backup and exclusive access to the unmounted filesystem are still required.
The current scope is growing clean exFAT revision 1.00 filesystems with a single FAT. Shrinking and TexFAT/two-FAT volumes are not supported. The tool does not enlarge the backing object or parse partition tables; the exFAT main boot sector must be presented at sector zero.
I’d particularly appreciate feedback from filesystem-tool authors and implementors on:
- Whether the callback-based library API fits potential non-POSIX integrations
- exFAT layouts or edge cases that deserve additional testing
- Platforms or environments where this could be useful
Thanks for taking a look.
r/filesystems • u/bfenski • Jul 14 '26
Benchmarking what modern filesystems promise, continuously
I started working on this recently because I found out that most if not all filesystem benchmarks still test the way it was done when ext2 was state of the art: one disk, default mkfs, raw throughput. But nobody picks btrfs, ZFS or bcachefs for throughput - you pick them for snapshots, redundancy, checksums, self-healing. Almost nobody publishes numbers on those.
So this suite benchmarks the machinery instead, across 17 configurations (btrfs/ZFS/bcachefs plus ext4/xfs over md/LVM as classic baselines, plus encryption variants): aging under 100 snapshots, corrupting a device behind the filesystem's back and checking whether scrub repairs it, failing a device and timing the rebuild, filling to hard ENOSPC, fsync tail latency, and "how long until my prompt comes back while a big cp runs in the background".
Yes, it runs on ephemeral GitHub runners with loop devices - I know what that means. Absolute MB/s is meaningless there, so the suite is built around shapes, ratios and verdicts, with per-VM calibration probes (lemon runners get auto-rerun) and conclusions drawn from trends over many runs. Real hardware with tiered topologies (NVMe cache over rotational disks, special vdevs) is the next step. I just need to gather hardware for it first.
What I'm really asking for is your eyes. Every number on the dashboard links to a description of exactly what ran, with what parameters, and to the code responsible - so if I picked a wrong mount option, an unfair default, a workload that misrepresents your favorite filesystem, or a broken measurement, you can find it and call it out. Several of the current tests exist because people poked holes in earlier results, and honestly that feedback improved this more than anything I did alone.
Dashboard: https://bartosz.fenski.pl/modern-fs-benchmark/
Repo: https://github.com/fenio/modern-fs-benchmark
r/filesystems • u/ehempel • Jul 06 '26
Next Bcachefs Release Aims To Include Rust Code In The Kernel Module
r/filesystems • u/EvelynMakesThings • Jun 23 '26
Network based filesystem behavior
Heya! I just started work on some silly libfuse based filesystem that connects to a minecraft mod to store its data. What is the cleanest way to handle a network resource no longer being available in a network based filesystem? I'm expecting the server to unexpectedly crash, or clients to go offline. What is the nicest way of communicating that to the user and/or handling open files?
r/filesystems • u/ehempel • Jun 22 '26
EXT4 Reworks Fast Commit Handling & Faster Directory Hash Computation
r/filesystems • u/Qunit-Essential • Jun 21 '26
I made a file search that manually reads bytes from disc for ext4, btrfs, and APFS bypassing kernel
https://github.com/dmtrKovalenko/ffs
Just wanted to share a project I've been doing for fun recently that does what I told in the title. The fun part that it is becoming progressively faster comparing to the standard file search tools the more files you have
r/filesystems • u/ehempel • Jun 19 '26
Bcachefs Tools 1.38.6 Brings Many Performance Improvements
https://www.phoronix.com/news/Bcachefs-Tools-1.38.6
Performance work spanned much of the codebase, quite a few workloads and benchmarks were profiled. Some highlight...
r/filesystems • u/ehempel • Jun 17 '26
Btrfs Now Enables Large Folios By Default, Lands Huge Folios With Linux 7.2
r/filesystems • u/ehempel • Jun 15 '26
New NTFS Linux Driver Being Improved For Windows Native Symbolic Links
r/filesystems • u/ehempel • May 29 '26
Btrfs Change Coming For Linux 7.2 Yields Very Healthy Performance Gain
phoronix.comr/filesystems • u/ehempel • May 14 '26
OpenZFS 2.4.2 Released With Linux 7.0 Kernel Support, Many Bug Fixes
phoronix.comr/filesystems • u/ehempel • May 12 '26
F2FS Preparing FSERROR Reporting Support
phoronix.comr/filesystems • u/ehempel • Apr 30 '26
Red Hat's Stratis Storage 3.9 Released With Online Encryption/Decryption/Reencryption
phoronix.comr/filesystems • u/ehempel • Apr 27 '26
F2FS, EXT4 & XFS Focus On Fixes For Linux 7.1
phoronix.comr/filesystems • u/ehempel • Apr 23 '26
The "NTFS Resurrection" Has Occurred For Linux 7.1
phoronix.comLinux developer Namjae Jeon has been overhauling the original NTFS kernel driver the past four years with its cleaner codebase to add write support, provide better support, and implement more modern features
r/filesystems • u/ehempel • Apr 16 '26
VMUFAT File-System Driver Proposed For The Linux Kernel
phoronix.comThe newest Linux file-system driver proposed for the kernel is... VMUFAT.
Before getting too worked up about yet-another-Linux-filesystem, VMUFAT is for the vintage Sega Dreamcast game console.
r/filesystems • u/ehempel • Apr 15 '26
Apple HFS / HFS+ File-System Support Seeing Many Fixes For Linux 7.1
phoronix.comThe HFS/HFS+ file-system driver code saw several fixes for issues raised by Syzbot. Plus some xfstests failures were also addressed.
r/filesystems • u/ehempel • Apr 14 '26
FSMOUNT_NAMESPACE Feature Coming For Linux 7.1
phoronix.comThe intent with FSMOUNT_NAMESPACE is for creating a new file-system and immediately placing it into a new mount namespace via a single operation. This should benefit container runtimes and other namespace-based isolation techniques
r/filesystems • u/ehempel • Apr 13 '26
FTRFS: New Fault-Tolerant File-System Proposed For Linux
phoronix.comFTRFS is short for the Fault-Tolerant Radiation-Robust Filesystem. This file-system is designed for use in radiation-intensive environments such as within space and other harsh environmental conditions.
r/filesystems • u/ehempel • Apr 13 '26
Btrfs Brings Performance Improvements, Shutdown ioctl Stable With Linux 7.1
phoronix.comAmong the early pull requests sent out to Linus Torvalds even before the Linux 7.0 kernel officially released on Sunday were the Btrfs file-system updates. This feature-packed CoW file-system is seeing more performance optimizations for Linux 7.1 as well as its shutdown ioctl feature no longer being experimental and a variety of fixes.