From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>,
agalakhov@ifmlrs.uran.ru, Kay Sievers <kay.sievers@vrfy.org>
Subject: Re: [PATCH] Sanitize filesystem NLS handling
Date: Tue, 20 Mar 2007 11:25:31 +0500 [thread overview]
Message-ID: <45FF7E5B.3070602@ums.usu.ru> (raw)
In-Reply-To: <871wjlp2l0.fsf@duaron.myhome.or.jp>
OGAWA Hirofumi wrote:
> "Alexander E. Patrakov" <patrakov@ums.usu.ru> writes:
>
>> But, anyway, this is a separate issue that my patch doesn't attempt to
>> correct. The conclusion so far is that we disagree, and that there are
>> situations where using utf8 iocharset is the least of all evils, so the
>> warning is not justified enough. Reproducible testcase:
>
> Again, I don't care about read at all. And why don't you use "utf8"
> option, instead of "iocharset=utf8". "iocharset=utf8" is warned until
> it is fixed. The "utf8" also doesn't work correctly in some case though.
Would it be OK for you if I add the mount-time check for iocharset=utf8 to
the fat filesystem and silently replace this with the "utf8" option, instead
of overly actively warning the users? This way, the sysfs option and the
nls_base.iocharset module parameter will still work as I want.
>>> I'm talking about two filesystems on a system here, not two encoding
>>> on one filesystem.
>> I am also talking about this. Mounting two filesystems with different
>> iocharsets is insane, because this will result in one of the following outcomes:
>>
>> 1) "ls" will show wrong characters in filenames on one of the filesystems
>> 2) one of the two filesystems will contain wrong on-disk data for filenames,
>> that, when misinterpreted by mounting with wrong iocharset, results in
>> seemingly-correct output, but is misunderstood by the properly set up
>> reference implementation (that's what is likely to happen with jfs in your
>> example).
>
> Because you didn't change the locale. And it is your policy, right?
Yes. This is because I have some files with non-ASCII names in my home
directory. Changing the locale would make these filenames look wrong until I
change it back.
--
Alexander E. Patrakov
next prev parent reply other threads:[~2007-03-20 6:25 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 [this message]
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
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=45FF7E5B.3070602@ums.usu.ru \
--to=patrakov@ums.usu.ru \
--cc=agalakhov@ifmlrs.uran.ru \
--cc=akpm@osdl.org \
--cc=hirofumi@mail.parknet.co.jp \
--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.