]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid/libmount: ntfs: return filesystem type 'ntfs3'
authorJohannes Schneider <johannes.schneider@leica-geosystems.com>
Fri, 13 Jun 2025 13:55:31 +0000 (15:55 +0200)
committerJohannes Schneider <johannes.schneider@leica-geosystems.com>
Fri, 13 Jun 2025 14:52:44 +0000 (16:52 +0200)
commit4cd429fdcd3e7db1d031494987d5cf7411689d79
tree517e2b5e7df2136c63f872f5baed0dfa31572d3d
parentc4b3ade6074d0ccb3b58187bef7b60e361bf5bfb
libblkid/libmount: ntfs: return filesystem type 'ntfs3'

Change the returned filesystem type from 'ntfs' to 'ntfs3', to match
what the kernel/fs/ntfs3 driver calls register_filesystem on [1][2].
This same driver also registers itself as 'ntfs', but then runs in a
"legacy" mode [3] which forces the mount to stay RO.

Link: [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/ntfs3/super.c?h=v6.12#n1794
Link: [2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/ntfs3/super.c?h=v6.12#n1874
Link: [3]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/ntfs3/super.c?h=v6.12#n412
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
libblkid/src/superblocks/ntfs.c
libmount/src/utils.c