aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-01-22 02:37:59 -0500
committerAlexey Dobriyan <adobriyan@gmail.com>2009-01-22 05:15:55 -0500
commit1c6ace019bce5e918a3d6cd53948652e14850644 (patch)
tree1c281fc75ba80301baba1f89c3623f30be36af86 /fs
parentddfaccd995b2d1bb1df4461ee9403ba9fdcbee04 (diff)
fs/Kconfig: move fat out
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/Kconfig98
-rw-r--r--fs/fat/Kconfig97
2 files changed, 98 insertions, 97 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index b4868b8fd999..fdb2c351b4a7 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -132,103 +132,7 @@ endif # BLOCK
132if BLOCK 132if BLOCK
133menu "DOS/FAT/NT Filesystems" 133menu "DOS/FAT/NT Filesystems"
134 134
135config FAT_FS 135source "fs/fat/Kconfig"
136 tristate
137 select NLS
138 help
139 If you want to use one of the FAT-based file systems (the MS-DOS and
140 VFAT (Windows 95) file systems), then you must say Y or M here
141 to include FAT support. You will then be able to mount partitions or
142 diskettes with FAT-based file systems and transparently access the
143 files on them, i.e. MSDOS files will look and behave just like all
144 other Unix files.
145
146 This FAT support is not a file system in itself, it only provides
147 the foundation for the other file systems. You will have to say Y or
148 M to at least one of "MSDOS fs support" or "VFAT fs support" in
149 order to make use of it.
150
151 Another way to read and write MSDOS floppies and hard drive
152 partitions from within Linux (but not transparently) is with the
153 mtools ("man mtools") program suite. You don't need to say Y here in
154 order to do that.
155
156 If you need to move large files on floppies between a DOS and a
157 Linux box, say Y here, mount the floppy under Linux with an MSDOS
158 file system and use GNU tar's M option. GNU tar is a program
159 available for Unix and DOS ("man tar" or "info tar").
160
161 The FAT support will enlarge your kernel by about 37 KB. If unsure,
162 say Y.
163
164 To compile this as a module, choose M here: the module will be called
165 fat. Note that if you compile the FAT support as a module, you
166 cannot compile any of the FAT-based file systems into the kernel
167 -- they will have to be modules as well.
168
169config MSDOS_FS
170 tristate "MSDOS fs support"
171 select FAT_FS
172 help
173 This allows you to mount MSDOS partitions of your hard drive (unless
174 they are compressed; to access compressed MSDOS partitions under
175 Linux, you can either use the DOS emulator DOSEMU, described in the
176 DOSEMU-HOWTO, available from
177 <http://www.tldp.org/docs.html#howto>, or try dmsdosfs in
178 <ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/>. If you
179 intend to use dosemu with a non-compressed MSDOS partition, say Y
180 here) and MSDOS floppies. This means that file access becomes
181 transparent, i.e. the MSDOS files look and behave just like all
182 other Unix files.
183
184 If you have Windows 95 or Windows NT installed on your MSDOS
185 partitions, you should use the VFAT file system (say Y to "VFAT fs
186 support" below), or you will not be able to see the long filenames
187 generated by Windows 95 / Windows NT.
188
189 This option will enlarge your kernel by about 7 KB. If unsure,
190 answer Y. This will only work if you said Y to "DOS FAT fs support"
191 as well. To compile this as a module, choose M here: the module will
192 be called msdos.
193
194config VFAT_FS
195 tristate "VFAT (Windows-95) fs support"
196 select FAT_FS
197 help
198 This option provides support for normal Windows file systems with
199 long filenames. That includes non-compressed FAT-based file systems
200 used by Windows 95, Windows 98, Windows NT 4.0, and the Unix
201 programs from the mtools package.
202
203 The VFAT support enlarges your kernel by about 10 KB and it only
204 works if you said Y to the "DOS FAT fs support" above. Please read
205 the file <file:Documentation/filesystems/vfat.txt> for details. If
206 unsure, say Y.
207
208 To compile this as a module, choose M here: the module will be called
209 vfat.
210
211config FAT_DEFAULT_CODEPAGE
212 int "Default codepage for FAT"
213 depends on MSDOS_FS || VFAT_FS
214 default 437
215 help
216 This option should be set to the codepage of your FAT filesystems.
217 It can be overridden with the "codepage" mount option.
218 See <file:Documentation/filesystems/vfat.txt> for more information.
219
220config FAT_DEFAULT_IOCHARSET
221 string "Default iocharset for FAT"
222 depends on VFAT_FS
223 default "iso8859-1"
224 help
225 Set this to the default input/output character set you'd
226 like FAT to use. It should probably match the character set
227 that most of your FAT filesystems use, and can be overridden
228 with the "iocharset" mount option for FAT filesystems.
229 Note that "utf8" is not recommended for FAT filesystems.
230 If unsure, you shouldn't set "utf8" here.
231 See <file:Documentation/filesystems/vfat.txt> for more information.
232 136
233config NTFS_FS 137config NTFS_FS
234 tristate "NTFS file system support" 138 tristate "NTFS file system support"
diff --git a/fs/fat/Kconfig b/fs/fat/Kconfig
new file mode 100644
index 000000000000..d0a69ff25375
--- /dev/null
+++ b/fs/fat/Kconfig
@@ -0,0 +1,97 @@
1config FAT_FS
2 tristate
3 select NLS
4 help
5 If you want to use one of the FAT-based file systems (the MS-DOS and
6 VFAT (Windows 95) file systems), then you must say Y or M here
7 to include FAT support. You will then be able to mount partitions or
8 diskettes with FAT-based file systems and transparently access the
9 files on them, i.e. MSDOS files will look and behave just like all
10 other Unix files.
11
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
17 Another way to read and write MSDOS floppies and hard drive
18 partitions from within Linux (but not transparently) is with the
19 mtools ("man mtools") program suite. You don't need to say Y here in
20 order to do that.
21
22 If you need to move large files on floppies between a DOS and a
23 Linux box, say Y here, mount the floppy under Linux with an MSDOS
24 file system and use GNU tar's M option. GNU tar is a program
25 available for Unix and DOS ("man tar" or "info tar").
26
27 The FAT support will enlarge your kernel by about 37 KB. If unsure,
28 say Y.
29
30 To compile this as a module, choose M here: the module will be called
31 fat. Note that if you compile the FAT support as a module, you
32 cannot compile any of the FAT-based file systems into the kernel
33 -- they will have to be modules as well.
34
35config MSDOS_FS
36 tristate "MSDOS fs support"
37 select FAT_FS
38 help
39 This allows you to mount MSDOS partitions of your hard drive (unless
40 they are compressed; to access compressed MSDOS partitions under
41 Linux, you can either use the DOS emulator DOSEMU, described in the
42 DOSEMU-HOWTO, available from
43 <http://www.tldp.org/docs.html#howto>, or try dmsdosfs in
44 <ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/>. If you
45 intend to use dosemu with a non-compressed MSDOS partition, say Y
46 here) and MSDOS floppies. This means that file access becomes
47 transparent, i.e. the MSDOS files look and behave just like all
48 other Unix files.
49
50 If you have Windows 95 or Windows NT installed on your MSDOS
51 partitions, you should use the VFAT file system (say Y to "VFAT fs
52 support" below), or you will not be able to see the long filenames
53 generated by Windows 95 / Windows NT.
54
55 This option will enlarge your kernel by about 7 KB. If unsure,
56 answer Y. This will only work if you said Y to "DOS FAT fs support"
57 as well. To compile this as a module, choose M here: the module will
58 be called msdos.
59
60config VFAT_FS
61 tristate "VFAT (Windows-95) fs support"
62 select FAT_FS
63 help
64 This option provides support for normal Windows file systems with
65 long filenames. That includes non-compressed FAT-based file systems
66 used by Windows 95, Windows 98, Windows NT 4.0, and the Unix
67 programs from the mtools package.
68
69 The VFAT support enlarges your kernel by about 10 KB and it only
70 works if you said Y to the "DOS FAT fs support" above. Please read
71 the file <file:Documentation/filesystems/vfat.txt> for details. If
72 unsure, say Y.
73
74 To compile this as a module, choose M here: the module will be called
75 vfat.
76
77config FAT_DEFAULT_CODEPAGE
78 int "Default codepage for FAT"
79 depends on MSDOS_FS || VFAT_FS
80 default 437
81 help
82 This option should be set to the codepage of your FAT filesystems.
83 It can be overridden with the "codepage" mount option.
84 See <file:Documentation/filesystems/vfat.txt> for more information.
85
86config FAT_DEFAULT_IOCHARSET
87 string "Default iocharset for FAT"
88 depends on VFAT_FS
89 default "iso8859-1"
90 help
91 Set this to the default input/output character set you'd
92 like FAT to use. It should probably match the character set
93 that most of your FAT filesystems use, and can be overridden
94 with the "iocharset" mount option for FAT filesystems.
95 Note that "utf8" is not recommended for FAT filesystems.
96 If unsure, you shouldn't set "utf8" here.
97 See <file:Documentation/filesystems/vfat.txt> for more information.