]> git.hungrycats.org Git - linux/commit
[PATCH] FAT: kill nls default
authorHirofumi Ogawa <hirofumi@mail.parknet.co.jp>
Mon, 2 Aug 2004 07:01:50 +0000 (00:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 Aug 2004 07:01:50 +0000 (00:01 -0700)
commita5cd4546d40028705e16c84ce41402e16aed33a6
treeddcb382bf8877d4253cb11b9d1a69acb9eeeb30b
parent81fd00e2e58911325c794b6f98d683ecb7db2b04
[PATCH] FAT: kill nls default

Previously, fatfs was using NLS_DEFAULT if users didn't specify the
codepage or iocharset option.  This became cause of trouble (filename
access).

This patch removes the complicated default config in kernel.

Instead of it, by default, fatfs uses builtin nls ("default"), also reports
it and mounts as read-only.  This default will limit the access more or
less.  Note: If peoples want to write on this default, it still can switch
by remount.

Therefore, basically users will need to specify mount options always.
("codepage" for msdos, and "codepage" and "iocharset" for vfat) However, it
can be done simply by script or shell alias or something else in userland.

Thanks to Andries Brouwer for your many advice.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/filesystems/vfat.txt
fs/Kconfig
fs/fat/inode.c