162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig NTFS3_FS
362306a36Sopenharmony_ci	tristate "NTFS Read-Write file system support"
462306a36Sopenharmony_ci	select BUFFER_HEAD
562306a36Sopenharmony_ci	select NLS
662306a36Sopenharmony_ci	select LEGACY_DIRECT_IO
762306a36Sopenharmony_ci	help
862306a36Sopenharmony_ci	  Windows OS native file system (NTFS) support up to NTFS version 3.1.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci	  Y or M enables the NTFS3 driver with full features enabled (read,
1162306a36Sopenharmony_ci	  write, journal replaying, sparse/compressed files support).
1262306a36Sopenharmony_ci	  File system type to use on mount is "ntfs3". Module name (M option)
1362306a36Sopenharmony_ci	  is also "ntfs3".
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci	  Documentation: <file:Documentation/filesystems/ntfs3.rst>
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig NTFS3_64BIT_CLUSTER
1862306a36Sopenharmony_ci	bool "64 bits per NTFS clusters"
1962306a36Sopenharmony_ci	depends on NTFS3_FS && 64BIT
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Windows implementation of ntfs.sys uses 32 bits per clusters.
2262306a36Sopenharmony_ci	  If activated 64 bits per clusters you will be able to use 4k cluster
2362306a36Sopenharmony_ci	  for 16T+ volumes. Windows will not be able to mount such volumes.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  It is recommended to say N here.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig NTFS3_LZX_XPRESS
2862306a36Sopenharmony_ci	bool "activate support of external compressions lzx/xpress"
2962306a36Sopenharmony_ci	depends on NTFS3_FS
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  In Windows 10 one can use command "compact" to compress any files.
3262306a36Sopenharmony_ci	  4 possible variants of compression are: xpress4k, xpress8k, xpress16k and lzx.
3362306a36Sopenharmony_ci	  If activated you will be able to read such files correctly.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci	  It is recommended to say Y here.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig NTFS3_FS_POSIX_ACL
3862306a36Sopenharmony_ci	bool "NTFS POSIX Access Control Lists"
3962306a36Sopenharmony_ci	depends on NTFS3_FS
4062306a36Sopenharmony_ci	select FS_POSIX_ACL
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  POSIX Access Control Lists (ACLs) support additional access rights
4362306a36Sopenharmony_ci	  for users and groups beyond the standard owner/group/world scheme,
4462306a36Sopenharmony_ci	  and this option selects support for ACLs specifically for ntfs
4562306a36Sopenharmony_ci	  filesystems.
4662306a36Sopenharmony_ci	  NOTE: this is linux only feature. Windows will ignore these ACLs.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	  If you don't know what Access Control Lists are, say N.
49