Re: [PATCH v2 0/7] ntfs: Support Windows native symbolic links
From: Namjae Jeon
Date: Mon Jun 15 2026 - 19:58:06 EST
On Mon, Jun 15, 2026 at 8:50 AM Hyunchul Lee <hyc.lee@xxxxxxxxx> wrote:
>
> This patch series adds support for Windows native symbolic links and
> introduces mount options to configure how symbolic links are resolved
> and created.
>
> Currently, the NTFS driver creates WSL-compatible symbolic links and
> has limited support for native Windows symbolic links. This series
> addresses these limitations.
>
> 1. Following/Resolving Symlinks & Junctions:
> - Add support for parsing and following Windows native symbolic links.
> - Introduce the "native_symlink=raw|rel" mount option to configure
> absolute target resolution.
>
> 2. Creating Symlinks:
> - Introduce the "symlink=wsl|native" mount option to choose the
> creation behavior of symlinks. Under "native", Windows native
> symbolic links are created by converting the target path to UTF-16
> Windows format.
>
> 3. Fixes & Cleanups:
> - Fix an issue where the size of symbolic links is reported as 0.
> - Clean up target name conversion for WSL symlinks by avoiding
> redundant conversion.
>
> 4. Documentation:
> - Document the newly introduced mount options in ntfs.rst.
>
> Changes since v1:
> - Add a boundary check to verify that reparse point attribute size is
> at least the size of the `reparse_point`.
> - Fix target inode fields (`reparse_tag`, `reparse_flags`) not being
> updated `ntfs_reparse_set_wsl_symlink()`,
> `ntfs_reparse_set_wsl_not_symlink()`, and
> `ntfs_set_ntfs_reparse_data()`.
> - Improve absolute path validation in `ntfs_reparse_set_native_symlink()`
> by ensuring that absolute paths actually start with a valid drive
> letter and a path separator.
> - Optimize memory allocations in `ntfs_reparse_set_native_symlink()` by
> sharing the same buffer for print name and substitute name in the
> relative symlink path.
>
> Signed-off-by: Hyunchul Lee <hyc.lee@xxxxxxxxx>
> ---
> Hyunchul Lee (7):
> ntfs: fix incorrect size of symbolic link
> ntfs: support following Windows native symlink with relative paths
> ntfs: support following Windows native symlink with absolute paths
> ntfs: add native_symlink mount option
> ntfs: clean up target name conversion for WSL symlinks
> ntfs: support creating Windows native symlinks
> docs/fs/ntfs: add mount options to support Windows native symbolic links
Applied them to #ntfs-next.
Thanks!