Re: [PATCH] fs/ntfs3: disable the 'ads' mount option by default
From: Ernest Borowski
Date: Fri Dec 04 2026 - 14:12:00 EST
The same problem hit a pacman package cache on an ntfs3 volume here,
on 7.3.6. The cache held 172 package files with an epoch in the name,
such as name-1:1.6.11-2-x86_64.pkg.tar.zst, written by earlier kernels.
With ads on by default, readdir lists all 172 of them, but stat, open
and unlink of each one fail with ENOENT. ntfs_nls_to_utf16() splits
the name at the ':', so the lookup asks for a file "name-1" with a
stream named after the rest, and there is no such file.
As a result, rm -rf fails with "Directory not empty", "pacman -Scc"
cannot finish, and pacman cannot store new packages with an epoch in
that directory. Remounting with ads=0 made all 172 files reachable
again.
So the default breaks any volume that already holds names with ':',
and making ads opt-in, as this patch does, fixes that.