xref: /linux/fs/fat/Kconfig (revision d29a2e943867bfa48f72ee6e99723a1b29fe6f7e)
11c6ace01SAlexey Dobriyanconfig FAT_FS
21c6ace01SAlexey Dobriyan	tristate
31c6ace01SAlexey Dobriyan	select NLS
41c6ace01SAlexey Dobriyan	help
51c6ace01SAlexey Dobriyan	  If you want to use one of the FAT-based file systems (the MS-DOS and
61c6ace01SAlexey Dobriyan	  VFAT (Windows 95) file systems), then you must say Y or M here
71c6ace01SAlexey Dobriyan	  to include FAT support. You will then be able to mount partitions or
81c6ace01SAlexey Dobriyan	  diskettes with FAT-based file systems and transparently access the
91c6ace01SAlexey Dobriyan	  files on them, i.e. MSDOS files will look and behave just like all
101c6ace01SAlexey Dobriyan	  other Unix files.
111c6ace01SAlexey Dobriyan
121c6ace01SAlexey Dobriyan	  This FAT support is not a file system in itself, it only provides
131c6ace01SAlexey Dobriyan	  the foundation for the other file systems. You will have to say Y or
141c6ace01SAlexey Dobriyan	  M to at least one of "MSDOS fs support" or "VFAT fs support" in
151c6ace01SAlexey Dobriyan	  order to make use of it.
161c6ace01SAlexey Dobriyan
171c6ace01SAlexey Dobriyan	  Another way to read and write MSDOS floppies and hard drive
181c6ace01SAlexey Dobriyan	  partitions from within Linux (but not transparently) is with the
191c6ace01SAlexey Dobriyan	  mtools ("man mtools") program suite. You don't need to say Y here in
201c6ace01SAlexey Dobriyan	  order to do that.
211c6ace01SAlexey Dobriyan
221c6ace01SAlexey Dobriyan	  If you need to move large files on floppies between a DOS and a
231c6ace01SAlexey Dobriyan	  Linux box, say Y here, mount the floppy under Linux with an MSDOS
241c6ace01SAlexey Dobriyan	  file system and use GNU tar's M option. GNU tar is a program
251c6ace01SAlexey Dobriyan	  available for Unix and DOS ("man tar" or "info tar").
261c6ace01SAlexey Dobriyan
271c6ace01SAlexey Dobriyan	  The FAT support will enlarge your kernel by about 37 KB. If unsure,
281c6ace01SAlexey Dobriyan	  say Y.
291c6ace01SAlexey Dobriyan
301c6ace01SAlexey Dobriyan	  To compile this as a module, choose M here: the module will be called
311c6ace01SAlexey Dobriyan	  fat.  Note that if you compile the FAT support as a module, you
321c6ace01SAlexey Dobriyan	  cannot compile any of the FAT-based file systems into the kernel
331c6ace01SAlexey Dobriyan	  -- they will have to be modules as well.
341c6ace01SAlexey Dobriyan
351c6ace01SAlexey Dobriyanconfig MSDOS_FS
361c6ace01SAlexey Dobriyan	tristate "MSDOS fs support"
371c6ace01SAlexey Dobriyan	select FAT_FS
381c6ace01SAlexey Dobriyan	help
391c6ace01SAlexey Dobriyan	  This allows you to mount MSDOS partitions of your hard drive (unless
401c6ace01SAlexey Dobriyan	  they are compressed; to access compressed MSDOS partitions under
411c6ace01SAlexey Dobriyan	  Linux, you can either use the DOS emulator DOSEMU, described in the
421c6ace01SAlexey Dobriyan	  DOSEMU-HOWTO, available from
431c6ace01SAlexey Dobriyan	  <http://www.tldp.org/docs.html#howto>, or try dmsdosfs in
441c6ace01SAlexey Dobriyan	  <ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/>. If you
451c6ace01SAlexey Dobriyan	  intend to use dosemu with a non-compressed MSDOS partition, say Y
461c6ace01SAlexey Dobriyan	  here) and MSDOS floppies. This means that file access becomes
471c6ace01SAlexey Dobriyan	  transparent, i.e. the MSDOS files look and behave just like all
481c6ace01SAlexey Dobriyan	  other Unix files.
491c6ace01SAlexey Dobriyan
501c6ace01SAlexey Dobriyan	  If you have Windows 95 or Windows NT installed on your MSDOS
511c6ace01SAlexey Dobriyan	  partitions, you should use the VFAT file system (say Y to "VFAT fs
521c6ace01SAlexey Dobriyan	  support" below), or you will not be able to see the long filenames
531c6ace01SAlexey Dobriyan	  generated by Windows 95 / Windows NT.
541c6ace01SAlexey Dobriyan
551c6ace01SAlexey Dobriyan	  This option will enlarge your kernel by about 7 KB. If unsure,
561c6ace01SAlexey Dobriyan	  answer Y. This will only work if you said Y to "DOS FAT fs support"
571c6ace01SAlexey Dobriyan	  as well. To compile this as a module, choose M here: the module will
581c6ace01SAlexey Dobriyan	  be called msdos.
591c6ace01SAlexey Dobriyan
601c6ace01SAlexey Dobriyanconfig VFAT_FS
611c6ace01SAlexey Dobriyan	tristate "VFAT (Windows-95) fs support"
621c6ace01SAlexey Dobriyan	select FAT_FS
631c6ace01SAlexey Dobriyan	help
641c6ace01SAlexey Dobriyan	  This option provides support for normal Windows file systems with
651c6ace01SAlexey Dobriyan	  long filenames.  That includes non-compressed FAT-based file systems
661c6ace01SAlexey Dobriyan	  used by Windows 95, Windows 98, Windows NT 4.0, and the Unix
671c6ace01SAlexey Dobriyan	  programs from the mtools package.
681c6ace01SAlexey Dobriyan
691c6ace01SAlexey Dobriyan	  The VFAT support enlarges your kernel by about 10 KB and it only
701c6ace01SAlexey Dobriyan	  works if you said Y to the "DOS FAT fs support" above.  Please read
711c6ace01SAlexey Dobriyan	  the file <file:Documentation/filesystems/vfat.txt> for details.  If
721c6ace01SAlexey Dobriyan	  unsure, say Y.
731c6ace01SAlexey Dobriyan
741c6ace01SAlexey Dobriyan	  To compile this as a module, choose M here: the module will be called
751c6ace01SAlexey Dobriyan	  vfat.
761c6ace01SAlexey Dobriyan
771c6ace01SAlexey Dobriyanconfig FAT_DEFAULT_CODEPAGE
781c6ace01SAlexey Dobriyan	int "Default codepage for FAT"
791c6ace01SAlexey Dobriyan	depends on MSDOS_FS || VFAT_FS
801c6ace01SAlexey Dobriyan	default 437
811c6ace01SAlexey Dobriyan	help
821c6ace01SAlexey Dobriyan	  This option should be set to the codepage of your FAT filesystems.
831c6ace01SAlexey Dobriyan	  It can be overridden with the "codepage" mount option.
841c6ace01SAlexey Dobriyan	  See <file:Documentation/filesystems/vfat.txt> for more information.
851c6ace01SAlexey Dobriyan
861c6ace01SAlexey Dobriyanconfig FAT_DEFAULT_IOCHARSET
871c6ace01SAlexey Dobriyan	string "Default iocharset for FAT"
881c6ace01SAlexey Dobriyan	depends on VFAT_FS
891c6ace01SAlexey Dobriyan	default "iso8859-1"
901c6ace01SAlexey Dobriyan	help
911c6ace01SAlexey Dobriyan	  Set this to the default input/output character set you'd
921c6ace01SAlexey Dobriyan	  like FAT to use. It should probably match the character set
931c6ace01SAlexey Dobriyan	  that most of your FAT filesystems use, and can be overridden
941c6ace01SAlexey Dobriyan	  with the "iocharset" mount option for FAT filesystems.
951c6ace01SAlexey Dobriyan	  Note that "utf8" is not recommended for FAT filesystems.
961c6ace01SAlexey Dobriyan	  If unsure, you shouldn't set "utf8" here.
971c6ace01SAlexey Dobriyan	  See <file:Documentation/filesystems/vfat.txt> for more information.
98*d29a2e94SAlan Cox
99*d29a2e94SAlan Cox	  Enable any character sets you need in File Systems/Native Language
100*d29a2e94SAlan Cox	  Support.
101