Re: [PATCH] Sanitize filesystem NLS handling

From: Roman Zippel
Date: Thu Mar 22 2007 - 11:46:17 EST


Hi,

On Thu, 22 Mar 2007, Alexander E. Patrakov wrote:

> > hfs has a codepage option as well, but I don't know its default in the
> > various countries, but it could be different from DOS.
>
> Yes. Since this comes from Mac world, it definitely makes sense to add
> CONFIG_MAC_CODEPAGE_DEFAULT, the corresponding module parameter, and make hfs
> (FIXME: anything else?) use this. However, I have no hfs filesystems, and thus
> can't test my changes.
>
> Help from anyone who understands hfs code is welcome. In particular, what
> currently happens by default WRT the codepage? Where is the code responsible
> for this?

grep for nls_disk, the default simply does a direct mapping, so I don't
really want to add another config option, but a module parameter would be
useful.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/