blob: d67ccd22c63b1eed83be1fa1f509247fdd9bdbb4 [file] [log] [blame]
Konstantin Komarov12dad492021-08-13 17:21:30 +03001.. SPDX-License-Identifier: GPL-2.0
2
3=====
4NTFS3
5=====
6
Konstantin Komarov12dad492021-08-13 17:21:30 +03007Summary and Features
8====================
9
Kari Argillandera0fc05a2021-09-10 00:57:53 +030010NTFS3 is fully functional NTFS Read-Write driver. The driver works with NTFS
11versions up to 3.1. File system type to use on mount is *ntfs3*.
Konstantin Komarov12dad492021-08-13 17:21:30 +030012
13- This driver implements NTFS read/write support for normal, sparse and
14 compressed files.
Kari Argillandera0fc05a2021-09-10 00:57:53 +030015- Supports native journal replaying.
Konstantin Komarov12dad492021-08-13 17:21:30 +030016- Supports NFS export of mounted NTFS volumes.
Kari Argillandera0fc05a2021-09-10 00:57:53 +030017- Supports extended attributes. Predefined extended attributes:
18
19 - *system.ntfs_security* gets/sets security
20
21 Descriptor: SECURITY_DESCRIPTOR_RELATIVE
22
23 - *system.ntfs_attrib* gets/sets ntfs file/dir attributes.
24
25 Note: Applied to empty files, this allows to switch type between
26 sparse(0x200), compressed(0x800) and normal.
Konstantin Komarov12dad492021-08-13 17:21:30 +030027
28Mount Options
29=============
30
31The list below describes mount options supported by NTFS3 driver in addition to
Kari Argillandera0fc05a2021-09-10 00:57:53 +030032generic ones. You can use every mount option with **no** option. If it is in
33this table marked with no it means default is without **no**.
Konstantin Komarov12dad492021-08-13 17:21:30 +030034
Kari Argillandera0fc05a2021-09-10 00:57:53 +030035.. flat-table::
36 :widths: 1 5
37 :fill-cells:
Konstantin Komarov12dad492021-08-13 17:21:30 +030038
Kari Argillandera0fc05a2021-09-10 00:57:53 +030039 * - iocharset=name
40 - This option informs the driver how to interpret path strings and
41 translate them to Unicode and back. If this option is not set, the
42 default codepage will be used (CONFIG_NLS_DEFAULT).
Konstantin Komarov12dad492021-08-13 17:21:30 +030043
Kari Argillandera0fc05a2021-09-10 00:57:53 +030044 Example: iocharset=utf8
Konstantin Komarov12dad492021-08-13 17:21:30 +030045
Kari Argillandera0fc05a2021-09-10 00:57:53 +030046 * - uid=
47 - :rspan:`1`
48 * - gid=
Konstantin Komarov12dad492021-08-13 17:21:30 +030049
Kari Argillandera0fc05a2021-09-10 00:57:53 +030050 * - umask=
51 - Controls the default permissions for files/directories created after
52 the NTFS volume is mounted.
Konstantin Komarov12dad492021-08-13 17:21:30 +030053
Kari Argillandera0fc05a2021-09-10 00:57:53 +030054 * - dmask=
55 - :rspan:`1` Instead of specifying umask which applies both to files and
56 directories, fmask applies only to files and dmask only to directories.
57 * - fmask=
Konstantin Komarov12dad492021-08-13 17:21:30 +030058
Kari Argillandera0fc05a2021-09-10 00:57:53 +030059 * - noacsrules
60 - "No access rules" mount option sets access rights for files/folders to
61 777 and owner/group to root. This mount option absorbs all other
62 permissions.
Konstantin Komarov12dad492021-08-13 17:21:30 +030063
Kari Argillandera0fc05a2021-09-10 00:57:53 +030064 - Permissions change for files/folders will be reported as successful,
65 but they will remain 777.
Konstantin Komarov12dad492021-08-13 17:21:30 +030066
Kari Argillandera0fc05a2021-09-10 00:57:53 +030067 - Owner/group change will be reported as successful, butthey will stay
68 as root.
Konstantin Komarov12dad492021-08-13 17:21:30 +030069
Kari Argillandera0fc05a2021-09-10 00:57:53 +030070 * - nohidden
71 - Files with the Windows-specific HIDDEN (FILE_ATTRIBUTE_HIDDEN) attribute
72 will not be shown under Linux.
Konstantin Komarov12dad492021-08-13 17:21:30 +030073
Kari Argillandera0fc05a2021-09-10 00:57:53 +030074 * - sys_immutable
75 - Files with the Windows-specific SYSTEM (FILE_ATTRIBUTE_SYSTEM) attribute
76 will be marked as system immutable files.
Konstantin Komarov12dad492021-08-13 17:21:30 +030077
Kari Argillandera0fc05a2021-09-10 00:57:53 +030078 * - discard
79 - Enable support of the TRIM command for improved performance on delete
80 operations, which is recommended for use with the solid-state drives
81 (SSD).
Konstantin Komarov12dad492021-08-13 17:21:30 +030082
Kari Argillandera0fc05a2021-09-10 00:57:53 +030083 * - force
84 - Forces the driver to mount partitions even if volume is marked dirty.
85 Not recommended for use.
Konstantin Komarov12dad492021-08-13 17:21:30 +030086
Kari Argillandera0fc05a2021-09-10 00:57:53 +030087 * - sparse
88 - Create new files as sparse.
Konstantin Komarov12dad492021-08-13 17:21:30 +030089
Kari Argillandera0fc05a2021-09-10 00:57:53 +030090 * - showmeta
91 - Use this parameter to show all meta-files (System Files) on a mounted
92 NTFS partition. By default, all meta-files are hidden.
93
94 * - prealloc
95 - Preallocate space for files excessively when file size is increasing on
96 writes. Decreases fragmentation in case of parallel write operations to
97 different files.
98
99 * - acl
100 - Support POSIX ACLs (Access Control Lists). Effective if supported by
101 Kernel. Not to be confused with NTFS ACLs. The option specified as acl
102 enables support for POSIX ACLs.
103
104Todo list
Konstantin Komarov12dad492021-08-13 17:21:30 +0300105=========
Kari Argillandera0fc05a2021-09-10 00:57:53 +0300106- Full journaling support over JBD. Currently journal replaying is supported
107 which is not necessarily as effectice as JBD would be.
Konstantin Komarov12dad492021-08-13 17:21:30 +0300108
109References
110==========
Kari Argillandera0fc05a2021-09-10 00:57:53 +0300111- Commercial version of the NTFS driver for Linux.
112 https://www.paragon-software.com/home/ntfs-linux-professional/
Konstantin Komarov12dad492021-08-13 17:21:30 +0300113
Kari Argillandera0fc05a2021-09-10 00:57:53 +0300114- Direct e-mail address for feedback and requests on the NTFS3 implementation.
115 almaz.alexandrovich@paragon-software.com