0xbadfca11/reflink

[Deprecated] reflink for Windows

28

stars

90

commits

C++

primary language

Sep 18, 2025

updated

README

[!IMPORTANT]

No longer needed

Since Windows 11 24H2, Windows copy engine uses block cloning by default.

reflink for Windows

Copy file using Block Cloning, like cp --reflink.

Copy file without actual data write.

reflink <source> <destination>

source       Specifies a file to copy.
             source must have placed on the ReFS volume.
destination  Specifies new file name.
             destination must have placed on the same volume as source.

[!NOTE] Block Cloning requires ReFS v21.
You may check local volume by fsutil fsinfo volumeinfo or fsutil fsinfo refsinfo.

  • by volumeinfo
    When Supports Block Cloning is included in fsutil output, can use Block Cloning.
  • by refsinfo
    Version 1.2 or 1.1 is ReFS v1.
    Version 3.1 or upper is ReFS v2.
LICENSE

MIT License

Footnotes

  1. If including non-Microsoft products, then reflink capable with WinBtrfs, OpenZFS, and so on.

Contributors

0xbadfca11

89 commits

brunom

1 commits

0xbadfca11/reflink

[Deprecated] reflink for Windows

28

stars

90

commits

C++

primary language

Sep 18, 2025

updated

README

[!IMPORTANT]

No longer needed

Since Windows 11 24H2, Windows copy engine uses block cloning by default.

reflink for Windows

Copy file using Block Cloning, like cp --reflink.

Copy file without actual data write.

reflink <source> <destination>

source       Specifies a file to copy.
             source must have placed on the ReFS volume.
destination  Specifies new file name.
             destination must have placed on the same volume as source.

[!NOTE] Block Cloning requires ReFS v21.
You may check local volume by fsutil fsinfo volumeinfo or fsutil fsinfo refsinfo.

  • by volumeinfo
    When Supports Block Cloning is included in fsutil output, can use Block Cloning.
  • by refsinfo
    Version 1.2 or 1.1 is ReFS v1.
    Version 3.1 or upper is ReFS v2.
LICENSE

MIT License

Footnotes

  1. If including non-Microsoft products, then reflink capable with WinBtrfs, OpenZFS, and so on.

Contributors

0xbadfca11

89 commits

brunom

1 commits

Languages

C++

98.1%

C

1.9%