Repository navigation
linux-refs 1.2.0
Release date: 2026-11-24. Release gate: passed on commit
0f112c9, with one accepted known issue (the benchmark, below). The complete list of what is supported is
docs/SUPPORT.md.
New in 1.2.0
- Extended attributes (ReFS 3.8 and later: Windows Server 2025,
Windows 11 and upgraded volumes). Both drivers show them as the
read-only xattrssystem.refs_ea.<NAME>;refs-extract --xattrswrites
them asuser.refs_ea.<NAME>;refs-ls -lcounts them and--json
lists them. Every EA of the lab volumes reads equal to what Windows
reports, byte for byte. A damaged set of EAs is refused for that entry's
EAs only. - WSL metadata. With the mount option
wsl(both drivers) the owner,
group and permission bits come from the EAs WSL keeps ($LXUID,
$LXGID,$LXMOD);refs-extract --wsldoes the same for the copies. - ReFS 1.1 and 1.2 (Windows Server 2012 and 2012 R2), through the
tools,refs-fuseand the kernel driver, also volumes that newer
Windows has mounted (a 1.2 volume stays 1.2; a 1.1 volume written to by
Server 2025 gets 1.2 checkpoints and can hold named streams). Every file
of the 1.1 and 1.2 lab volumes reads equal to what Windows recorded,
integrity checksums included. A 1.x volume that was not shut down
cleanly is read from its newest checkpoint and reported; renames of its
last few seconds can be missing. - Stream snapshots as files (ReFS 3.7 and later). Both drivers show a
file's snapshots as read-only files in its stream folder,
.refs-streams/<path>/:snapshots/<name>;refs-extract --snapshots
copies them the same way. Every snapshot of the lab volumes (also of
sparse, integrity, empty and zeroed files, 21-deep chains, 4 KiB and 64
KiB clusters) reads equal to the file Windows had when it was taken.
Fixed in 1.2.0
- Files with stream snapshots (ReFS 3.7 and 3.14). In a file with
snapshots, a range the live file had zeroed or truncated after a snapshot
could be refused (rows 1.1 did not know: tombstones 0x48 and 0x58, weak
copies 0x450), and a hole marker over a range a snapshot still holds
would have shown the snapshot's old data instead of zeros. Now the
newest layer with a row for a range always decides, as Windows does: on
the lab volumes every file with snapshots reads equal to Windows (also
sparse files, whose allocated size a snapshot leaves stale).
1.1 gave no wrong data on any lab volume, with 4 KiB or 64 KiB clusters
(they hold no such hole marker).
Known issues in 1.2.0
- Cold
staton 64 KiB ReFS 3.14 volumes is up to 14 % slower than in
1.1 (about 2 microseconds per file: 15 to 20 ms for 10,000 files with
nothing cached). Measured with 1.1 and 1.2 back to back on the same
machine; every other measurement equals 1.1. To be addressed in 1.3.
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.2.0-1-x86_64.pkg.tar.zst linux-refs-fuse-1.2.0-1-x86_64.pkg.tar.zst linux-refs-dkms-1.2.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.2.0.
Debian and Ubuntu packages are not provided: their kernels are older than
6.18.