Kconfig 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config FAT_FS
  3. tristate
  4. select NLS
  5. help
  6. If you want to use one of the FAT-based file systems (the MS-DOS and
  7. VFAT (Windows 95) file systems), then you must say Y or M here
  8. to include FAT support. You will then be able to mount partitions or
  9. diskettes with FAT-based file systems and transparently access the
  10. files on them, i.e. MSDOS files will look and behave just like all
  11. other Unix files.
  12. This FAT support is not a file system in itself, it only provides
  13. the foundation for the other file systems. You will have to say Y or
  14. M to at least one of "MSDOS fs support" or "VFAT fs support" in
  15. order to make use of it.
  16. Another way to read and write MSDOS floppies and hard drive
  17. partitions from within Linux (but not transparently) is with the
  18. mtools ("man mtools") program suite. You don't need to say Y here in
  19. order to do that.
  20. If you need to move large files on floppies between a DOS and a
  21. Linux box, say Y here, mount the floppy under Linux with an MSDOS
  22. file system and use GNU tar's M option. GNU tar is a program
  23. available for Unix and DOS ("man tar" or "info tar").
  24. The FAT support will enlarge your kernel by about 37 KB. If unsure,
  25. say Y.
  26. To compile this as a module, choose M here: the module will be called
  27. fat. Note that if you compile the FAT support as a module, you
  28. cannot compile any of the FAT-based file systems into the kernel
  29. -- they will have to be modules as well.
  30. config MSDOS_FS
  31. tristate "MSDOS fs support"
  32. select FAT_FS
  33. help
  34. This allows you to mount MSDOS partitions of your hard drive (unless
  35. they are compressed; to access compressed MSDOS partitions under
  36. Linux, you can either use the DOS emulator DOSEMU, described in the
  37. DOSEMU-HOWTO, available from
  38. <https://www.tldp.org/docs.html#howto>, or try dmsdosfs in
  39. <ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/>. If you
  40. intend to use dosemu with a non-compressed MSDOS partition, say Y
  41. here) and MSDOS floppies. This means that file access becomes
  42. transparent, i.e. the MSDOS files look and behave just like all
  43. other Unix files.
  44. If you have Windows 95 or Windows NT installed on your MSDOS
  45. partitions, you should use the VFAT file system (say Y to "VFAT fs
  46. support" below), or you will not be able to see the long filenames
  47. generated by Windows 95 / Windows NT.
  48. This option will enlarge your kernel by about 7 KB. If unsure,
  49. answer Y. This will only work if you said Y to "DOS FAT fs support"
  50. as well. To compile this as a module, choose M here: the module will
  51. be called msdos.
  52. config VFAT_FS
  53. tristate "VFAT (Windows-95) fs support"
  54. select FAT_FS
  55. help
  56. This option provides support for normal Windows file systems with
  57. long filenames. That includes non-compressed FAT-based file systems
  58. used by Windows 95, Windows 98, Windows NT 4.0, and the Unix
  59. programs from the mtools package.
  60. The VFAT support enlarges your kernel by about 10 KB and it only
  61. works if you said Y to the "DOS FAT fs support" above. Please read
  62. the file <file:Documentation/filesystems/vfat.rst> for details. If
  63. unsure, say Y.
  64. To compile this as a module, choose M here: the module will be called
  65. vfat.
  66. config FAT_DEFAULT_CODEPAGE
  67. int "Default codepage for FAT"
  68. depends on MSDOS_FS || VFAT_FS
  69. default 437
  70. help
  71. This option should be set to the codepage of your FAT filesystems.
  72. It can be overridden with the "codepage" mount option.
  73. See <file:Documentation/filesystems/vfat.rst> for more information.
  74. config FAT_DEFAULT_IOCHARSET
  75. string "Default iocharset for FAT"
  76. depends on VFAT_FS
  77. default "iso8859-1"
  78. help
  79. Set this to the default input/output character set you'd
  80. like FAT to use. It should probably match the character set
  81. that most of your FAT filesystems use, and can be overridden
  82. with the "iocharset" mount option for FAT filesystems.
  83. Note that "utf8" is not recommended for FAT filesystems.
  84. If unsure, you shouldn't set "utf8" here - select the next option
  85. instead if you would like to use UTF-8 encoded file names by default.
  86. See <file:Documentation/filesystems/vfat.rst> for more information.
  87. Enable any character sets you need in File Systems/Native Language
  88. Support.
  89. config FAT_DEFAULT_UTF8
  90. bool "Enable FAT UTF-8 option by default"
  91. depends on VFAT_FS
  92. default n
  93. help
  94. Set this if you would like to have "utf8" mount option set
  95. by default when mounting FAT filesystems.
  96. Even if you say Y here can always disable UTF-8 for
  97. particular mount by adding "utf8=0" to mount options.
  98. Say Y if you use UTF-8 encoding for file names, N otherwise.
  99. See <file:Documentation/filesystems/vfat.rst> for more information.