From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>,
agalakhov@ifmlrs.uran.ru, Kay Sievers <kay.sievers@vrfy.org>
Subject: Re: [PATCH] Sanitize filesystem NLS handling
Date: Thu, 22 Mar 2007 21:07:53 +0500 [thread overview]
Message-ID: <4602A9D9.2060008@ums.usu.ru> (raw)
In-Reply-To: <45FD6EF5.1030706@ums.usu.ru>
I wrote:
> More details on what the patch does:
>
> * Rewords the description of CONFIG_NLS_DEFAULT, because at some point
> in the past it confused some people
> * Removes CONFIG_FAT_DEFAULT_IOCHARSET, now CONFIG_NLS_DEFAULT is used
> for this purpose. This is because the correct setting of both must match
> the user's locale
> * Merges the two CONFIG_SMB_NLS_REMOTE and CONFIG_FAT_DEFAULT_CODEPAGE
> options into one, named CONFIG_CODEPAGE_DEFAULT. This is because the
> correct setting of both must match the code page used by MS-DOS in the
> user's country. For the same reason, CONFIG_SMB_NLS_DEFAULT is removed
> (the only sane choice is "y")
> * Makes the FAT filesystem accept both the old-style "codepage=866"
> mount option (which is inconsistent with other filesystems requiring a
> codepage option) and the new-style "codepage=cp866" option. This is
> necessary because CONFIG_CODEPAGE_DEFAULT must work for all filesystems
> that use it
> * Downgrades the UTF-8 FAT warning to a note, because, while using the
> utf8 iocharset produces a case-sensitive FAT filesystem, other
> iocharsets simply produce wrong characters, which is much worse
> * Renames SMB_NLS_MAXNAMELEN to NLS_MAXNAMELEN, because it is also
> useful outside smbfs
> * Makes smbfs always output iocharset and codepage in /proc/mounts, as
> FAT does
> * Makes CONFIG_NLS_DEFAULT and CONFIG_CODEPAGE_DEFAULT adjustable at
> runtime via the following mechanisms:
I take the patch back, please expect V2. It needs some work WRT hfs and
ncpfs filesystems, as well as an improvement in handling of iocharset=utf8
in the fat filesystem.
--
Alexander E. Patrakov
prev parent reply other threads:[~2007-03-22 16:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-18 16:55 [PATCH] Sanitize filesystem NLS handling Alexander E. Patrakov
2007-03-18 22:01 ` OGAWA Hirofumi
2007-03-19 2:58 ` Alexander E. Patrakov
2007-03-19 3:46 ` OGAWA Hirofumi
2007-03-19 4:38 ` Alexander E. Patrakov
2007-03-19 5:38 ` OGAWA Hirofumi
2007-03-19 5:49 ` Alexander E. Patrakov
2007-03-19 14:25 ` OGAWA Hirofumi
2007-03-19 15:04 ` Alexander E. Patrakov
2007-03-19 17:26 ` OGAWA Hirofumi
2007-03-20 6:25 ` Alexander E. Patrakov
2007-03-21 16:50 ` OGAWA Hirofumi
2007-03-19 15:10 ` Alexander E. Patrakov
2007-03-19 17:36 ` OGAWA Hirofumi
2007-03-19 6:38 ` yes --help (was: [PATCH] Sanitize filesystem NLS handling) Bernd Eckenfels
2007-03-19 8:14 ` Alexander E. Patrakov
2007-03-22 12:59 ` [PATCH] Sanitize filesystem NLS handling Roman Zippel
2007-03-22 13:22 ` Alexander E. Patrakov
2007-03-22 13:49 ` Roman Zippel
2007-03-22 13:59 ` Alexander E. Patrakov
2007-03-22 15:45 ` Roman Zippel
2007-03-22 14:58 ` Alexander E. Patrakov
2007-03-22 16:07 ` Alexander E. Patrakov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4602A9D9.2060008@ums.usu.ru \
--to=patrakov@ums.usu.ru \
--cc=agalakhov@ifmlrs.uran.ru \
--cc=akpm@osdl.org \
--cc=kay.sievers@vrfy.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.