···11+.. SPDX-License-Identifier: GPL-2.022+33+=====44+NTFS355+=====66+77+88+Summary and Features99+====================1010+1111+NTFS3 is fully functional NTFS Read-Write driver. The driver works with1212+NTFS versions up to 3.1, normal/compressed/sparse files1313+and journal replaying. File system type to use on mount is 'ntfs3'.1414+1515+- This driver implements NTFS read/write support for normal, sparse and1616+ compressed files.1717+- Supports native journal replaying;1818+- Supports extended attributes1919+ Predefined extended attributes:2020+ - 'system.ntfs_security' gets/sets security2121+ descriptor (SECURITY_DESCRIPTOR_RELATIVE)2222+ - 'system.ntfs_attrib' gets/sets ntfs file/dir attributes.2323+ Note: applied to empty files, this allows to switch type between2424+ sparse(0x200), compressed(0x800) and normal;2525+- Supports NFS export of mounted NTFS volumes.2626+2727+Mount Options2828+=============2929+3030+The list below describes mount options supported by NTFS3 driver in addition to3131+generic ones.3232+3333+===============================================================================3434+3535+nls=name This option informs the driver how to interpret path3636+ strings and translate them to Unicode and back. If3737+ this option is not set, the default codepage will be3838+ used (CONFIG_NLS_DEFAULT).3939+ Examples:4040+ 'nls=utf8'4141+4242+uid=4343+gid=4444+umask= Controls the default permissions for files/directories created4545+ after the NTFS volume is mounted.4646+4747+fmask=4848+dmask= Instead of specifying umask which applies both to4949+ files and directories, fmask applies only to files and5050+ dmask only to directories.5151+5252+nohidden Files with the Windows-specific HIDDEN (FILE_ATTRIBUTE_HIDDEN)5353+ attribute will not be shown under Linux.5454+5555+sys_immutable Files with the Windows-specific SYSTEM5656+ (FILE_ATTRIBUTE_SYSTEM) attribute will be marked as system5757+ immutable files.5858+5959+discard Enable support of the TRIM command for improved performance6060+ on delete operations, which is recommended for use with the6161+ solid-state drives (SSD).6262+6363+force Forces the driver to mount partitions even if 'dirty' flag6464+ (volume dirty) is set. Not recommended for use.6565+6666+sparse Create new files as "sparse".6767+6868+showmeta Use this parameter to show all meta-files (System Files) on6969+ a mounted NTFS partition.7070+ By default, all meta-files are hidden.7171+7272+prealloc Preallocate space for files excessively when file size is7373+ increasing on writes. Decreases fragmentation in case of7474+ parallel write operations to different files.7575+7676+no_acs_rules "No access rules" mount option sets access rights for7777+ files/folders to 777 and owner/group to root. This mount7878+ option absorbs all other permissions:7979+ - permissions change for files/folders will be reported8080+ as successful, but they will remain 777;8181+ - owner/group change will be reported as successful, but8282+ they will stay as root8383+8484+acl Support POSIX ACLs (Access Control Lists). Effective if8585+ supported by Kernel. Not to be confused with NTFS ACLs.8686+ The option specified as acl enables support for POSIX ACLs.8787+8888+noatime All files and directories will not update their last access8989+ time attribute if a partition is mounted with this parameter.9090+ This option can speed up file system operation.9191+9292+===============================================================================9393+9494+ToDo list9595+=========9696+9797+- Full journaling support (currently journal replaying is supported) over JBD.9898+9999+100100+References101101+==========102102+https://www.paragon-software.com/home/ntfs-linux-professional/103103+ - Commercial version of the NTFS driver for Linux.104104+105105+almaz.alexandrovich@paragon-software.com106106+ - Direct e-mail address for feedback and requests on the NTFS3 implementation.
+46
fs/ntfs3/Kconfig
···11+# SPDX-License-Identifier: GPL-2.0-only22+config NTFS3_FS33+ tristate "NTFS Read-Write file system support"44+ select NLS55+ help66+ Windows OS native file system (NTFS) support up to NTFS version 3.1.77+88+ Y or M enables the NTFS3 driver with full features enabled (read,99+ write, journal replaying, sparse/compressed files support).1010+ File system type to use on mount is "ntfs3". Module name (M option)1111+ is also "ntfs3".1212+1313+ Documentation: <file:Documentation/filesystems/ntfs3.rst>1414+1515+config NTFS3_64BIT_CLUSTER1616+ bool "64 bits per NTFS clusters"1717+ depends on NTFS3_FS && 64BIT1818+ help1919+ Windows implementation of ntfs.sys uses 32 bits per clusters.2020+ If activated 64 bits per clusters you will be able to use 4k cluster2121+ for 16T+ volumes. Windows will not be able to mount such volumes.2222+2323+ It is recommended to say N here.2424+2525+config NTFS3_LZX_XPRESS2626+ bool "activate support of external compressions lzx/xpress"2727+ depends on NTFS3_FS2828+ help2929+ In Windows 10 one can use command "compact" to compress any files.3030+ 4 possible variants of compression are: xpress4k, xpress8k, xpress16k and lzx.3131+ If activated you will be able to read such files correctly.3232+3333+ It is recommended to say Y here.3434+3535+config NTFS3_FS_POSIX_ACL3636+ bool "NTFS POSIX Access Control Lists"3737+ depends on NTFS3_FS3838+ select FS_POSIX_ACL3939+ help4040+ POSIX Access Control Lists (ACLs) support additional access rights4141+ for users and groups beyond the standard owner/group/world scheme,4242+ and this option selects support for ACLs specifically for ntfs4343+ filesystems.4444+ NOTE: this is linux only feature. Windows will ignore these ACLs.4545+4646+ If you don't know what Access Control Lists are, say N.