132 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config FAT_FS3 tristate4 select BUFFER_HEAD5 select NLS6 select LEGACY_DIRECT_IO7 help8 If you want to use one of the FAT-based file systems (the MS-DOS and9 VFAT (Windows 95) file systems), then you must say Y or M here10 to include FAT support. You will then be able to mount partitions or11 diskettes with FAT-based file systems and transparently access the12 files on them, i.e. MSDOS files will look and behave just like all13 other Unix files.14 15 This FAT support is not a file system in itself, it only provides16 the foundation for the other file systems. You will have to say Y or17 M to at least one of "MSDOS fs support" or "VFAT fs support" in18 order to make use of it.19 20 Another way to read and write MSDOS floppies and hard drive21 partitions from within Linux (but not transparently) is with the22 mtools ("man mtools") program suite. You don't need to say Y here in23 order to do that.24 25 If you need to move large files on floppies between a DOS and a26 Linux box, say Y here, mount the floppy under Linux with an MSDOS27 file system and use GNU tar's M option. GNU tar is a program28 available for Unix and DOS ("man tar" or "info tar").29 30 The FAT support will enlarge your kernel by about 37 KB. If unsure,31 say Y.32 33 To compile this as a module, choose M here: the module will be called34 fat. Note that if you compile the FAT support as a module, you35 cannot compile any of the FAT-based file systems into the kernel36 -- they will have to be modules as well.37 38config MSDOS_FS39 tristate "MSDOS fs support"40 select FAT_FS41 help42 This allows you to mount MSDOS partitions of your hard drive (unless43 they are compressed; to access compressed MSDOS partitions under44 Linux, you can either use the DOS emulator DOSEMU, described in the45 DOSEMU-HOWTO, available from46 <https://www.tldp.org/docs.html#howto>, or try dmsdosfs in47 <ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/>. If you48 intend to use dosemu with a non-compressed MSDOS partition, say Y49 here) and MSDOS floppies. This means that file access becomes50 transparent, i.e. the MSDOS files look and behave just like all51 other Unix files.52 53 If you have Windows 95 or Windows NT installed on your MSDOS54 partitions, you should use the VFAT file system (say Y to "VFAT fs55 support" below), or you will not be able to see the long filenames56 generated by Windows 95 / Windows NT.57 58 This option will enlarge your kernel by about 7 KB. If unsure,59 answer Y. This will only work if you said Y to "DOS FAT fs support"60 as well. To compile this as a module, choose M here: the module will61 be called msdos.62 63config VFAT_FS64 tristate "VFAT (Windows-95) fs support"65 select FAT_FS66 help67 This option provides support for normal Windows file systems with68 long filenames. That includes non-compressed FAT-based file systems69 used by Windows 95, Windows 98, Windows NT 4.0, and the Unix70 programs from the mtools package.71 72 The VFAT support enlarges your kernel by about 10 KB and it only73 works if you said Y to the "DOS FAT fs support" above. Please read74 the file <file:Documentation/filesystems/vfat.rst> for details. If75 unsure, say Y.76 77 To compile this as a module, choose M here: the module will be called78 vfat.79 80config FAT_DEFAULT_CODEPAGE81 int "Default codepage for FAT"82 depends on FAT_FS83 default 43784 help85 This option should be set to the codepage of your FAT filesystems.86 It can be overridden with the "codepage" mount option.87 See <file:Documentation/filesystems/vfat.rst> for more information.88 89config FAT_DEFAULT_IOCHARSET90 string "Default iocharset for FAT"91 depends on VFAT_FS92 default "iso8859-1"93 help94 Set this to the default input/output character set you'd95 like FAT to use. It should probably match the character set96 that most of your FAT filesystems use, and can be overridden97 with the "iocharset" mount option for FAT filesystems.98 Note that "utf8" is not recommended for FAT filesystems.99 If unsure, you shouldn't set "utf8" here - select the next option100 instead if you would like to use UTF-8 encoded file names by default.101 See <file:Documentation/filesystems/vfat.rst> for more information.102 103 Enable any character sets you need in File Systems/Native Language104 Support.105 106config FAT_DEFAULT_UTF8107 bool "Enable FAT UTF-8 option by default"108 depends on VFAT_FS109 default n110 help111 Set this if you would like to have "utf8" mount option set112 by default when mounting FAT filesystems.113 114 Even if you say Y here can always disable UTF-8 for115 particular mount by adding "utf8=0" to mount options.116 117 Say Y if you use UTF-8 encoding for file names, N otherwise.118 119 See <file:Documentation/filesystems/vfat.rst> for more information.120 121config FAT_KUNIT_TEST122 tristate "Unit Tests for FAT filesystems" if !KUNIT_ALL_TESTS123 depends on KUNIT && FAT_FS124 default KUNIT_ALL_TESTS125 help126 This builds the FAT KUnit tests127 128 For more information on KUnit and unit tests in general, please refer129 to the KUnit documentation in Documentation/dev-tools/kunit130 131 If unsure, say N132