From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932652AbXCVN6l (ORCPT ); Thu, 22 Mar 2007 09:58:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932634AbXCVN6l (ORCPT ); Thu, 22 Mar 2007 09:58:41 -0400 Received: from relay4.usu.ru ([194.226.235.39]:58526 "EHLO relay4.usu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932780AbXCVN6k (ORCPT ); Thu, 22 Mar 2007 09:58:40 -0400 Message-ID: <46028BA8.5030906@ums.usu.ru> Date: Thu, 22 Mar 2007 18:59:04 +0500 From: "Alexander E. Patrakov" User-Agent: IceDove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Roman Zippel Cc: LKML , Andrew Morton , agalakhov@ifmlrs.uran.ru, Kay Sievers Subject: Re: [PATCH] Sanitize filesystem NLS handling References: <45FD6EF5.1030706@ums.usu.ru> <46028303.7070104@ums.usu.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP@relay4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Roman Zippel 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? -- Alexander E. Patrakov