ntfs3.rst 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. .. SPDX-License-Identifier: GPL-2.0
  2. =====
  3. NTFS3
  4. =====
  5. Summary and Features
  6. ====================
  7. NTFS3 is fully functional NTFS Read-Write driver. The driver works with NTFS
  8. versions up to 3.1. File system type to use on mount is *ntfs3*.
  9. - This driver implements NTFS read/write support for normal, sparse and
  10. compressed files.
  11. - Supports native journal replaying.
  12. - Supports NFS export of mounted NTFS volumes.
  13. - Supports extended attributes. Predefined extended attributes:
  14. - *system.ntfs_security* gets/sets security
  15. Descriptor: SECURITY_DESCRIPTOR_RELATIVE
  16. - *system.ntfs_attrib* gets/sets ntfs file/dir attributes.
  17. Note: Applied to empty files, this allows to switch type between
  18. sparse(0x200), compressed(0x800) and normal.
  19. - *system.ntfs_attrib_be* gets/sets ntfs file/dir attributes.
  20. Same value as system.ntfs_attrib but always represent as big-endian
  21. (endianness of system.ntfs_attrib is the same as of the CPU).
  22. Mount Options
  23. =============
  24. The list below describes mount options supported by NTFS3 driver in addition to
  25. generic ones. You can use every mount option with **no** option. If it is in
  26. this table marked with no it means default is without **no**.
  27. .. flat-table::
  28. :widths: 1 5
  29. :fill-cells:
  30. * - iocharset=name
  31. - This option informs the driver how to interpret path strings and
  32. translate them to Unicode and back. If this option is not set, the
  33. default codepage will be used (CONFIG_NLS_DEFAULT).
  34. Example: iocharset=utf8
  35. * - uid=
  36. - :rspan:`1`
  37. * - gid=
  38. * - umask=
  39. - Controls the default permissions for files/directories created after
  40. the NTFS volume is mounted.
  41. * - dmask=
  42. - :rspan:`1` Instead of specifying umask which applies both to files and
  43. directories, fmask applies only to files and dmask only to directories.
  44. * - fmask=
  45. * - nohidden
  46. - Files with the Windows-specific HIDDEN (FILE_ATTRIBUTE_HIDDEN) attribute
  47. will not be shown under Linux.
  48. * - sys_immutable
  49. - Files with the Windows-specific SYSTEM (FILE_ATTRIBUTE_SYSTEM) attribute
  50. will be marked as system immutable files.
  51. * - hide_dot_files
  52. - Updates the Windows-specific HIDDEN (FILE_ATTRIBUTE_HIDDEN) attribute
  53. when creating and moving or renaming files. Files whose names start
  54. with a dot will have the HIDDEN attribute set and files whose names
  55. do not start with a dot will have it unset.
  56. * - windows_names
  57. - Prevents the creation of files and directories with a name not allowed
  58. by Windows, either because it contains some not allowed character (which
  59. are the characters " * / : < > ? \\ | and those whose code is less than
  60. 0x20), because the name (with or without extension) is a reserved file
  61. name (CON, AUX, NUL, PRN, LPT1-9, COM1-9) or because the last character
  62. is a space or a dot. Existing such files can still be read and renamed.
  63. * - discard
  64. - Enable support of the TRIM command for improved performance on delete
  65. operations, which is recommended for use with the solid-state drives
  66. (SSD).
  67. * - force
  68. - Forces the driver to mount partitions even if volume is marked dirty.
  69. Not recommended for use.
  70. * - sparse
  71. - Create new files as sparse.
  72. * - showmeta
  73. - Use this parameter to show all meta-files (System Files) on a mounted
  74. NTFS partition. By default, all meta-files are hidden.
  75. * - prealloc
  76. - Preallocate space for files excessively when file size is increasing on
  77. writes. Decreases fragmentation in case of parallel write operations to
  78. different files.
  79. * - acl
  80. - Support POSIX ACLs (Access Control Lists). Effective if supported by
  81. Kernel. Not to be confused with NTFS ACLs. The option specified as acl
  82. enables support for POSIX ACLs.
  83. Todo list
  84. =========
  85. - Full journaling support over JBD. Currently journal replaying is supported
  86. which is not necessarily as effective as JBD would be.
  87. References
  88. ==========
  89. - Commercial version of the NTFS driver for Linux.
  90. https://www.paragon-software.com/home/ntfs-linux-professional/
  91. - Direct e-mail address for feedback and requests on the NTFS3 implementation.
  92. almaz.alexandrovich@paragon-software.com