18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig NTFS_FS
38c2ecf20Sopenharmony_ci	tristate "NTFS file system support"
48c2ecf20Sopenharmony_ci	select NLS
58c2ecf20Sopenharmony_ci	help
68c2ecf20Sopenharmony_ci	  NTFS is the file system of Microsoft Windows NT, 2000, XP and 2003.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci	  Saying Y or M here enables read support.  There is partial, but
98c2ecf20Sopenharmony_ci	  safe, write support available.  For write support you must also
108c2ecf20Sopenharmony_ci	  say Y to "NTFS write support" below.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  There are also a number of user-space tools available, called
138c2ecf20Sopenharmony_ci	  ntfsprogs.  These include ntfsundelete and ntfsresize, that work
148c2ecf20Sopenharmony_ci	  without NTFS support enabled in the kernel.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	  This is a rewrite from scratch of Linux NTFS support and replaced
178c2ecf20Sopenharmony_ci	  the old NTFS code starting with Linux 2.5.11.  A backport to
188c2ecf20Sopenharmony_ci	  the Linux 2.4 kernel series is separately available as a patch
198c2ecf20Sopenharmony_ci	  from the project web site.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci	  For more information see <file:Documentation/filesystems/ntfs.rst>
228c2ecf20Sopenharmony_ci	  and <http://www.linux-ntfs.org/>.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	  To compile this file system support as a module, choose M here: the
258c2ecf20Sopenharmony_ci	  module will be called ntfs.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	  If you are not using Windows NT, 2000, XP or 2003 in addition to
288c2ecf20Sopenharmony_ci	  Linux on your computer it is safe to say N.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig NTFS_DEBUG
318c2ecf20Sopenharmony_ci	bool "NTFS debugging support"
328c2ecf20Sopenharmony_ci	depends on NTFS_FS
338c2ecf20Sopenharmony_ci	help
348c2ecf20Sopenharmony_ci	  If you are experiencing any problems with the NTFS file system, say
358c2ecf20Sopenharmony_ci	  Y here.  This will result in additional consistency checks to be
368c2ecf20Sopenharmony_ci	  performed by the driver as well as additional debugging messages to
378c2ecf20Sopenharmony_ci	  be written to the system log.  Note that debugging messages are
388c2ecf20Sopenharmony_ci	  disabled by default.  To enable them, supply the option debug_msgs=1
398c2ecf20Sopenharmony_ci	  at the kernel command line when booting the kernel or as an option
408c2ecf20Sopenharmony_ci	  to insmod when loading the ntfs module.  Once the driver is active,
418c2ecf20Sopenharmony_ci	  you can enable debugging messages by doing (as root):
428c2ecf20Sopenharmony_ci	  echo 1 > /proc/sys/fs/ntfs-debug
438c2ecf20Sopenharmony_ci	  Replacing the "1" with "0" would disable debug messages.
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci	  If you leave debugging messages disabled, this results in little
468c2ecf20Sopenharmony_ci	  overhead, but enabling debug messages results in very significant
478c2ecf20Sopenharmony_ci	  slowdown of the system.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci	  When reporting bugs, please try to have available a full dump of
508c2ecf20Sopenharmony_ci	  debugging messages while the misbehaviour was occurring.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig NTFS_RW
538c2ecf20Sopenharmony_ci	bool "NTFS write support"
548c2ecf20Sopenharmony_ci	depends on NTFS_FS
558c2ecf20Sopenharmony_ci	help
568c2ecf20Sopenharmony_ci	  This enables the partial, but safe, write support in the NTFS driver.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci	  The only supported operation is overwriting existing files, without
598c2ecf20Sopenharmony_ci	  changing the file length.  No file or directory creation, deletion or
608c2ecf20Sopenharmony_ci	  renaming is possible.  Note only non-resident files can be written to
618c2ecf20Sopenharmony_ci	  so you may find that some very small files (<500 bytes or so) cannot
628c2ecf20Sopenharmony_ci	  be written to.
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci	  While we cannot guarantee that it will not damage any data, we have
658c2ecf20Sopenharmony_ci	  so far not received a single report where the driver would have
668c2ecf20Sopenharmony_ci	  damaged someones data so we assume it is perfectly safe to use.
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci	  Note:  While write support is safe in this version (a rewrite from
698c2ecf20Sopenharmony_ci	  scratch of the NTFS support), it should be noted that the old NTFS
708c2ecf20Sopenharmony_ci	  write support, included in Linux 2.5.10 and before (since 1997),
718c2ecf20Sopenharmony_ci	  is not safe.
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci	  This is currently useful with TopologiLinux.  TopologiLinux is run
748c2ecf20Sopenharmony_ci	  on top of any DOS/Microsoft Windows system without partitioning your
758c2ecf20Sopenharmony_ci	  hard disk.  Unlike other Linux distributions TopologiLinux does not
768c2ecf20Sopenharmony_ci	  need its own partition.  For more information see
778c2ecf20Sopenharmony_ci	  <http://topologi-linux.sourceforge.net/>
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci	  It is perfectly safe to say N here.
80