aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-01-22 03:13:16 -0500
committerAlexey Dobriyan <adobriyan@gmail.com>2009-01-22 05:16:01 -0500
commit213a41d404d5ed16528df5aa0ed215adcb1e9d66 (patch)
tree13f2f5875c505a25798131fa0b46c67b7ca42d9e /fs
parent9098c24f35f7da6c89a83420acf21e3d7b35151d (diff)
fs/Kconfig: move smbfs out
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/Kconfig58
-rw-r--r--fs/smbfs/Kconfig55
2 files changed, 56 insertions, 57 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 1d7c0f6fade4..c05ccea75c3a 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -265,63 +265,7 @@ config NFS_COMMON
265 default y 265 default y
266 266
267source "net/sunrpc/Kconfig" 267source "net/sunrpc/Kconfig"
268 268source "fs/smbfs/Kconfig"
269config SMB_FS
270 tristate "SMB file system support (OBSOLETE, please use CIFS)"
271 depends on INET
272 select NLS
273 help
274 SMB (Server Message Block) is the protocol Windows for Workgroups
275 (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
276 files and printers over local networks. Saying Y here allows you to
277 mount their file systems (often called "shares" in this context) and
278 access them just like any other Unix directory. Currently, this
279 works only if the Windows machines use TCP/IP as the underlying
280 transport protocol, and not NetBEUI. For details, read
281 <file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
282 available from <http://www.tldp.org/docs.html#howto>.
283
284 Note: if you just want your box to act as an SMB *server* and make
285 files and printing services available to Windows clients (which need
286 to have a TCP/IP stack), you don't need to say Y here; you can use
287 the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
288 for that.
289
290 General information about how to connect Linux, Windows machines and
291 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
292
293 To compile the SMB support as a module, choose M here:
294 the module will be called smbfs. Most people say N, however.
295
296config SMB_NLS_DEFAULT
297 bool "Use a default NLS"
298 depends on SMB_FS
299 help
300 Enabling this will make smbfs use nls translations by default. You
301 need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
302 settings and you need to give the default nls for the SMB server as
303 CONFIG_SMB_NLS_REMOTE.
304
305 The nls settings can be changed at mount time, if your smbmount
306 supports that, using the codepage and iocharset parameters.
307
308 smbmount from samba 2.2.0 or later supports this.
309
310config SMB_NLS_REMOTE
311 string "Default Remote NLS Option"
312 depends on SMB_NLS_DEFAULT
313 default "cp437"
314 help
315 This setting allows you to specify a default value for which
316 codepage the server uses. If this field is left blank no
317 translations will be done by default. The local codepage/charset
318 default to CONFIG_NLS_DEFAULT.
319
320 The nls settings can be changed at mount time, if your smbmount
321 supports that, using the codepage and iocharset parameters.
322
323 smbmount from samba 2.2.0 or later supports this.
324
325source "fs/cifs/Kconfig" 269source "fs/cifs/Kconfig"
326 270
327config NCP_FS 271config NCP_FS
diff --git a/fs/smbfs/Kconfig b/fs/smbfs/Kconfig
new file mode 100644
index 000000000000..e668127c8b2e
--- /dev/null
+++ b/fs/smbfs/Kconfig
@@ -0,0 +1,55 @@
1config SMB_FS
2 tristate "SMB file system support (OBSOLETE, please use CIFS)"
3 depends on INET
4 select NLS
5 help
6 SMB (Server Message Block) is the protocol Windows for Workgroups
7 (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
8 files and printers over local networks. Saying Y here allows you to
9 mount their file systems (often called "shares" in this context) and
10 access them just like any other Unix directory. Currently, this
11 works only if the Windows machines use TCP/IP as the underlying
12 transport protocol, and not NetBEUI. For details, read
13 <file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
14 available from <http://www.tldp.org/docs.html#howto>.
15
16 Note: if you just want your box to act as an SMB *server* and make
17 files and printing services available to Windows clients (which need
18 to have a TCP/IP stack), you don't need to say Y here; you can use
19 the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
20 for that.
21
22 General information about how to connect Linux, Windows machines and
23 Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.
24
25 To compile the SMB support as a module, choose M here:
26 the module will be called smbfs. Most people say N, however.
27
28config SMB_NLS_DEFAULT
29 bool "Use a default NLS"
30 depends on SMB_FS
31 help
32 Enabling this will make smbfs use nls translations by default. You
33 need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
34 settings and you need to give the default nls for the SMB server as
35 CONFIG_SMB_NLS_REMOTE.
36
37 The nls settings can be changed at mount time, if your smbmount
38 supports that, using the codepage and iocharset parameters.
39
40 smbmount from samba 2.2.0 or later supports this.
41
42config SMB_NLS_REMOTE
43 string "Default Remote NLS Option"
44 depends on SMB_NLS_DEFAULT
45 default "cp437"
46 help
47 This setting allows you to specify a default value for which
48 codepage the server uses. If this field is left blank no
49 translations will be done by default. The local codepage/charset
50 default to CONFIG_NLS_DEFAULT.
51
52 The nls settings can be changed at mount time, if your smbmount
53 supports that, using the codepage and iocharset parameters.
54
55 smbmount from samba 2.2.0 or later supports this.