[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgLYy3pRFDxwXB1THf4ev2C6VOmK5m7tfSwwv+EC9pM3Q@mail.gmail.com>
Date: Sun, 9 Dec 2018 09:41:13 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "Theodore Ts'o" <tytso@....edu>
Cc: linux-fsdevel <linux-fsdevel@...r.kernel.org>,
kernel@...labora.com, linux-ext4@...r.kernel.org,
krisman@...labora.com
Subject: Re: [PATCH v4 00/23] Ext4 Encoding and Case-insensitive support
On Sat, Dec 8, 2018 at 9:03 PM Theodore Y. Ts'o <tytso@....edu> wrote:
>
> Whether or not case-folding is being done is per-directory (it's a
> flag on the directory set by chattr) . What encoding is supported
> (and we only will support two, ASCII and UTF-8) is per-file system. I
> personally believe it's insane to try to encode a large number of
> encodings, like big5, or iso-8859-1, etc. on a per-directory basis.
> Either don't do encodings at all, or use utf-8. Period. I believe
> you made a similar request for git metadata, no? :-)
Absolutely.
But if you only support ascii or utf-8, then why are you messing with
the nls part? That makes no sense.
You can't have it both ways.
Either you have a horrible fundamental design mistake that has
different per-filesystem locales, or you don't.
If you don't, you shouldn't be touching any of the nls code.
Whatever unicode tables you use for case folding shouldn't be in the nls code.
Linus
Powered by blists - more mailing lists