[Ilugc] Re: problem with case of file names in vfat

  • From: antopaul@xxxxxxxxx (Anto Paul)
  • Date: Sat Apr 2 19:13:30 2005

On Apr 2, 2005 2:35 PM, Anto Paul <antopaul@xxxxxxxxx> wrote:

Hi all,
    First of all I am not a geek and I dont know the procedures of
submitting a bug report so I am asking this here. I am trying to fix a
problem caused by Ant(Java build tool) and I found this one.
    The problem is with case sensitive file names. The filenames are
not created in the exact case I give. I dont know how to explain it as
I am unable to find out a pattern for this behaviour. The one definite
case is if the file name contains a single upper case character it is
created as lower case. I tried same with 2.6.8, 2.6.11 and now I have
2.6.12-rc1.
    After googleing I found similar posts which asks not to use utf8
charset and I am using iso-8859-1.
    File system is mounted with
/dev/hda1 on /mnt/win_c type vfat (rw,umask=000)

    From kernel .config
#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y

    This is the test case.
[anto@anto test]$ pwd
/mnt/win_c/test
[anto@anto test]$ ls
[anto@anto test]$ touch A
[anto@anto test]$ ls
a*
[anto@anto test]$ ls a
a*
[anto@anto test]$ ls A
A*

    Notice that "ls A" displays as upper case A

[anto@anto test]$ touch AAA
[anto@anto test]$ ls
a*  AAa*

Any help is appreciated.

--
Anto Paul
www.benchmarksoft.com


I solved it by adding shortname=winnt option in fstab. Sorry for the annoyance.
-- 
Anto Paul
www.benchmarksoft.com

Other related posts: