Repository navigation
linux-refs 1.1.0
Release date: 2026-11-24. Release gate: passed on commit
85f4c8e (2026-11-23), without exceptions. The complete list of what is
supported is
docs/SUPPORT.md.
New in 1.1.0
-
ReFS 3.1: Windows Server 2016 volumes. Volumes that Server 2016
formatted, and that were never attached to a newer Windows, now read
through the tools,refs-fuseand the kernel driver, with 4 KiB and
64 KiB clusters, integrity streams included. Their boot record stores a
container size of 0, which means 64 MiB;refs-infoshows the size it
uses with a note. (Release 1.0 already read 3.1 volumes that a newer
Windows had upgraded.) Also on disks with 4096-byte sectors, with 4 KiB
and 64 KiB clusters. -
Compressed data. Files on volumes where Windows compressed data
(ReFS compression on Server 2025, LZ4 and ZSTD) now read, through the
tools,refs-fuseand the kernel driver. The kernel driver uses the
kernel's own decompressors; the tools andrefs-fuseuse liblz4 and
libzstd, each optional (without one, files in its format are refused
with a message naming the package). Read on ReFS 3.8 to 3.14, with
4 KiB and 64 KiB clusters; still refused: compacted containers of three
or four ranges (until they can be tested), and format 3 (LZ4 with Intel
QAT hardware). -
Much faster. A cache of verified metadata pages (the kernel driver:
64 MiB per volume by default,cache_mb=; the tools andrefs-fuse:
--cache-mb,-o cache_mb=), pages shared without copying, and the
stream folder's listings kept for the mount (the volume never changes
while mounted). Every page is still checked the first time it is read.
Measured with the kernel driver in a test VM on the same machine,
release 1.0.0 against 1.1.0 (medians of three runs):Volume Walk, cold Walk, warm stat of every file, cold Read all files, cold ReFS 3.14, 4 KiB clusters, 10,072 files 2.9 s to 0.18 s 1.5 s to 6.5 ms 1.5 s to 0.12 s 3.5 s to 0.67 s ReFS 3.14, 64 KiB clusters 9.2 s to 0.21 s 4.5 s to 6.5 ms 4.6 s to 0.14 s 9.5 s to 0.68 s ReFS 3.4, 64 KiB clusters 9.1 s to 0.21 s 4.5 s to 6.5 ms 4.6 s to 0.15 s 10.6 s to 0.90 s ReFS 3.14, 10 GiB, 26,032 entries, 8.9 GB of files 10.5 s to 1.2 s 4.9 s to 0.17 s 3.8 s to 0.43 s 19.2 s to 12.5 s No measurement got slower. The caches cost about 10 MB of kernel memory
after walking a 10,000-file volume, at most the cache size (plus the
kernel's usual inode and name caches) on large ones. Release 1.0.0 took
seconds to list the stream folder on volumes with 64 KiB clusters,
because it checked every file for streams again on every listing.
Fixed in 1.1.0
- An out-of-bounds read on crafted volumes. A metadata page that
claims to be an inner B+ tree node with no rows passed 1.0.0's checks,
and the code then read far beyond the page: a crash of the tools and
refs-fuse, a possible oops of the kernel driver. Such a page is now
refused as damaged. Found by fuzzing. - Folders holding a subdirectory with extended attributes can be
listed again. 1.0.0 refused the whole folder as damaged ("reference
tail"): the subdirectory's entry carries its EA size where 1.0.0
expected zero bytes. Seen on ReFS 3.10 and 3.14 (for example with WSL's
file metadata on a ReFS volume). - Files with WSL metadata. WSL special files (device nodes, FIFOs,
sockets, WSL symlinks) that carry WSL's EAs read again: 1.0.0 refused
them as damaged because a table's row counter, which Windows leaves
above the real number of rows, was checked for equality. Every row
counter is now treated as an upper bound, as Windows does. - Windows attributes as Windows shows them. Internal bits such as
0x40000 (the file has EAs) no longer appear in the attribute xattrs and
inrefs-ls -l; only the bits Windows itself reports are shown. - Building with link-time optimisation (
-flto, as Arch and Gentoo
do) no longer fails on a false warning in the test builder, and the
userspace programs now takeLDFLAGS(full RELRO in distribution
builds).
Still not supported
- ReFS 3.2 and 3.3 (early Windows 10): no volume of these versions could be
made for testing; refused,force_versionlets you try (logged). - Everything else as listed for 1.0.0 below and in
docs/SUPPORT.md.
Packages
Arch Linux, three packages (install what you need):
| Package | What it is | Needs |
|---|---|---|
linux-refs-tools |
refs-info, refs-ls, refs-cat, refs-extract |
glibc, lz4, zstd |
linux-refs-fuse |
refs-fuse: mount read-only through FUSE, no kernel module |
glibc, fuse3, lz4, zstd |
linux-refs-dkms |
the kernel driver (mount -t refs), built by DKMS for each installed kernel |
dkms, linux-headers or linux-lts-headers (kernel 6.18 or newer) |
# pacman -U linux-refs-tools-1.1.0-1-x86_64.pkg.tar.zst linux-refs-fuse-1.1.0-1-x86_64.pkg.tar.zst linux-refs-dkms-1.1.0-1-any.pkg.tar.zst
Install-tested in clean Arch containers with linux 7.3.5 and linux-lts
6.18.65 (the module built and was removed cleanly; loading the module and
mounting were not tested there). The PKGBUILD attached here carries the
checksum of this release's source archive. Check the downloads with
sha256sum -c SHA256SUMS.
Gentoo: the overlay
linux-refs-overlay
has sys-fs/linux-refs-tools, sys-fs/linux-refs-fuse and
sys-fs/linux-refs-kmod 1.1.0.
Debian and Ubuntu packages are not provided: their kernels are older than
6.18.