Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config NTFS_FS
0003         tristate "NTFS file system support"
0004         select NLS
0005         help
0006           NTFS is the file system of Microsoft Windows NT, 2000, XP and 2003.
0007 
0008           Saying Y or M here enables read support.  There is partial, but
0009           safe, write support available.  For write support you must also
0010           say Y to "NTFS write support" below.
0011 
0012           There are also a number of user-space tools available, called
0013           ntfsprogs.  These include ntfsundelete and ntfsresize, that work
0014           without NTFS support enabled in the kernel.
0015 
0016           This is a rewrite from scratch of Linux NTFS support and replaced
0017           the old NTFS code starting with Linux 2.5.11.  A backport to
0018           the Linux 2.4 kernel series is separately available as a patch
0019           from the project web site.
0020 
0021           For more information see <file:Documentation/filesystems/ntfs.rst>
0022           and <http://www.linux-ntfs.org/>.
0023 
0024           To compile this file system support as a module, choose M here: the
0025           module will be called ntfs.
0026 
0027           If you are not using Windows NT, 2000, XP or 2003 in addition to
0028           Linux on your computer it is safe to say N.
0029 
0030 config NTFS_DEBUG
0031         bool "NTFS debugging support"
0032         depends on NTFS_FS
0033         help
0034           If you are experiencing any problems with the NTFS file system, say
0035           Y here.  This will result in additional consistency checks to be
0036           performed by the driver as well as additional debugging messages to
0037           be written to the system log.  Note that debugging messages are
0038           disabled by default.  To enable them, supply the option debug_msgs=1
0039           at the kernel command line when booting the kernel or as an option
0040           to insmod when loading the ntfs module.  Once the driver is active,
0041           you can enable debugging messages by doing (as root):
0042           echo 1 > /proc/sys/fs/ntfs-debug
0043           Replacing the "1" with "0" would disable debug messages.
0044 
0045           If you leave debugging messages disabled, this results in little
0046           overhead, but enabling debug messages results in very significant
0047           slowdown of the system.
0048 
0049           When reporting bugs, please try to have available a full dump of
0050           debugging messages while the misbehaviour was occurring.
0051 
0052 config NTFS_RW
0053         bool "NTFS write support"
0054         depends on NTFS_FS
0055         depends on PAGE_SIZE_LESS_THAN_64KB
0056         help
0057           This enables the partial, but safe, write support in the NTFS driver.
0058 
0059           The only supported operation is overwriting existing files, without
0060           changing the file length.  No file or directory creation, deletion or
0061           renaming is possible.  Note only non-resident files can be written to
0062           so you may find that some very small files (<500 bytes or so) cannot
0063           be written to.
0064 
0065           While we cannot guarantee that it will not damage any data, we have
0066           so far not received a single report where the driver would have
0067           damaged someones data so we assume it is perfectly safe to use.
0068 
0069           Note:  While write support is safe in this version (a rewrite from
0070           scratch of the NTFS support), it should be noted that the old NTFS
0071           write support, included in Linux 2.5.10 and before (since 1997),
0072           is not safe.
0073 
0074           This is currently useful with TopologiLinux.  TopologiLinux is run
0075           on top of any DOS/Microsoft Windows system without partitioning your
0076           hard disk.  Unlike other Linux distributions TopologiLinux does not
0077           need its own partition.  For more information see
0078           <http://topologi-linux.sourceforge.net/>
0079 
0080           It is perfectly safe to say N here.