Skip to content

linux-refs 1.5.0

Choose a tag to compare

@nvaert1986 nvaert1986 released this 26 Nov 22:58
· 5 commits to main since this release

Release date: 2026-11-27. Release gate: passed on commit 0ed66d1
(2026-11-26), fuzzing at the 1.1 to 1.3 budget (15 minutes per harness,
20,000 volumes per kernel campaign), with one documented exception:
the release adds commit 8cfd578, two pointers initialised so that
builds with link-time optimisation (Arch's default) compile (no
change in behaviour); for it the unit and tool tests, the quality
check (now with an LTO build), the lab tests of the tools and of the
disk images and 15 minutes of fuzz_img were run again, not the whole
gate. The complete list of what is supported is
docs/SUPPORT.md.

1.5 is the long-term-support series (SECURITY.md): the
completed read-only version. Security fixes are made in 1.5.x from now on;
1.4 and 1.3 are no longer maintained (1.5 reads everything they read).
Write support comes in the 2.x line.

New in 1.5.0

  • Disk images read directly. The tools and refs-fuse open VHDX
    (fixed, dynamic and differencing, the log of a VM that was not shut
    down cleanly applied in memory), VHD (fixed, dynamic and differencing)
    and qcow2 (versions 2 and 3, zero and compressed clusters, deflate and
    zstd, subclusters, backing files) directly, as a normal user, without
    qemu-nbd. The container is recognised by its contents; parents and
    backing files are found where the image says, next to it, or by
    --parent; images are only ever opened read-only. Encrypted qcow2 and
    qcow2 with an external data file are refused. --raw reads a file as
    it is. See docs/USAGE.md.
  • ReFS 3.2 and 3.3 (Windows 10 1703 and 1709), also volumes upgraded
    from them by newer Windows.
  • 4096-byte sectors on every ReFS version 3.1 to 3.14: 3.2, 3.3, 3.4,
    3.7 and 3.14 with 4 KiB and 64 KiB clusters, and the intermediate
    versions 3.5, 3.6 and 3.8 to 3.13 (1.4: 3.14 with 4 KiB clusters and 3.1
    only).
  • The older checkpoint (--checkpoint older, -o checkpoint=older):
    the volume as Windows recorded it one step before the newest state; on
    a volume cut off while being written to, files as they were some
    seconds earlier. See docs/USAGE.md.
  • Deleted files (refs-recover, ReFS 3.4, 3.7 and 3.14): found in the
    old copies of directory pages that ReFS leaves on the disk, listed or
    copied out, each with a status (complete only when its integrity
    checksums match; otherwise unverified, partial or overwritten). See
    docs/USAGE.md.
  • The redo log as a timeline (refs-log, ReFS 3.4, 3.7 and 3.14):
    what the log recorded after the newest checkpoint (the last changes
    before a crash or power loss): creates, deletes, renames, new sizes and
    times, oldest first; listed, not applied.
  • refs-info shows whether a 3.x volume was shut down cleanly.
  • The change journal (refs-usn): where the volume's USN journal is
    on, every change Windows recorded to every file (creates, deletes,
    renames, data and attribute changes), oldest first, as fsutil usn readjournal lists it, also after the journal has wrapped. See
    docs/USAGE.md.

Source code

linux-refs-1.5.0.tar.gz is the source of this release (the tag
v1.5.0), SHA-256
9c8f4822d7398e98ef039b724d89dbc528d669ddacb52bd27ece8043ae81b3db.
Build and install as described in
INSTALL.md.
New in 1.5: zlib, optional, for deflate-compressed qcow2 images (make -C userspace REFS_NO_ZLIB=1 builds without it). OpenSSL 3 or 4 is needed for
the --pfx options, as in 1.3 (optional: REFS_NO_EFS=1).

Packages

Arch Linux packages, built from the tag archive above with the attached
PKGBUILD and install-tested in a clean Arch container (kernel 7.3.6:
the DKMS module builds; removal leaves nothing behind):

  • linux-refs-tools: refs-info, refs-ls, refs-cat, refs-extract,
    refs-recover, refs-log, refs-usn and their manual pages
  • linux-refs-fuse: refs-fuse
  • linux-refs-dkms: the kernel driver for mount -t refs (DKMS; for
    Secure Boot see INSTALL.md)

pacman -U linux-refs-tools-1.5.0-1-x86_64.pkg.tar.zst ...;
SHA256SUMS lists every file. Gentoo: the linux-refs-overlay has
1.5.0 (tools, fuse, kmod; a zlib USE flag, on by default).