Skip to content

Commit

Permalink
fs/Kconfig: move smbfs out
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
  • Loading branch information
Alexey Dobriyan committed Jan 22, 2009
1 parent 9098c24 commit 213a41d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 57 deletions.
58 changes: 1 addition & 57 deletions fs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -265,63 +265,7 @@ config NFS_COMMON
default y

source "net/sunrpc/Kconfig"

config SMB_FS
tristate "SMB file system support (OBSOLETE, please use CIFS)"
depends on INET
select NLS
help
SMB (Server Message Block) is the protocol Windows for Workgroups
(WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
files and printers over local networks. Saying Y here allows you to
mount their file systems (often called "shares" in this context) and
access them just like any other Unix directory. Currently, this
works only if the Windows machines use TCP/IP as the underlying
transport protocol, and not NetBEUI. For details, read
<file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
available from <http://www.tldp.org/docs.html#howto>.

Note: if you just want your box to act as an SMB *server* and make
files and printing services available to Windows clients (which need
to have a TCP/IP stack), you don't need to say Y here; you can use
the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
for that.

General information about how to connect Linux, Windows machines and
Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.

To compile the SMB support as a module, choose M here:
the module will be called smbfs. Most people say N, however.

config SMB_NLS_DEFAULT
bool "Use a default NLS"
depends on SMB_FS
help
Enabling this will make smbfs use nls translations by default. You
need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
settings and you need to give the default nls for the SMB server as
CONFIG_SMB_NLS_REMOTE.

The nls settings can be changed at mount time, if your smbmount
supports that, using the codepage and iocharset parameters.

smbmount from samba 2.2.0 or later supports this.

config SMB_NLS_REMOTE
string "Default Remote NLS Option"
depends on SMB_NLS_DEFAULT
default "cp437"
help
This setting allows you to specify a default value for which
codepage the server uses. If this field is left blank no
translations will be done by default. The local codepage/charset
default to CONFIG_NLS_DEFAULT.

The nls settings can be changed at mount time, if your smbmount
supports that, using the codepage and iocharset parameters.

smbmount from samba 2.2.0 or later supports this.

source "fs/smbfs/Kconfig"
source "fs/cifs/Kconfig"

config NCP_FS
Expand Down
55 changes: 55 additions & 0 deletions fs/smbfs/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
config SMB_FS
tristate "SMB file system support (OBSOLETE, please use CIFS)"
depends on INET
select NLS
help
SMB (Server Message Block) is the protocol Windows for Workgroups
(WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
files and printers over local networks. Saying Y here allows you to
mount their file systems (often called "shares" in this context) and
access them just like any other Unix directory. Currently, this
works only if the Windows machines use TCP/IP as the underlying
transport protocol, and not NetBEUI. For details, read
<file:Documentation/filesystems/smbfs.txt> and the SMB-HOWTO,
available from <http://www.tldp.org/docs.html#howto>.

Note: if you just want your box to act as an SMB *server* and make
files and printing services available to Windows clients (which need
to have a TCP/IP stack), you don't need to say Y here; you can use
the program SAMBA (available from <ftp://ftp.samba.org/pub/samba/>)
for that.

General information about how to connect Linux, Windows machines and
Macs is on the WWW at <http://www.eats.com/linux_mac_win.html>.

To compile the SMB support as a module, choose M here:
the module will be called smbfs. Most people say N, however.

config SMB_NLS_DEFAULT
bool "Use a default NLS"
depends on SMB_FS
help
Enabling this will make smbfs use nls translations by default. You
need to specify the local charset (CONFIG_NLS_DEFAULT) in the nls
settings and you need to give the default nls for the SMB server as
CONFIG_SMB_NLS_REMOTE.

The nls settings can be changed at mount time, if your smbmount
supports that, using the codepage and iocharset parameters.

smbmount from samba 2.2.0 or later supports this.

config SMB_NLS_REMOTE
string "Default Remote NLS Option"
depends on SMB_NLS_DEFAULT
default "cp437"
help
This setting allows you to specify a default value for which
codepage the server uses. If this field is left blank no
translations will be done by default. The local codepage/charset
default to CONFIG_NLS_DEFAULT.

The nls settings can be changed at mount time, if your smbmount
supports that, using the codepage and iocharset parameters.

smbmount from samba 2.2.0 or later supports this.

0 comments on commit 213a41d

Please sign in to comment.