From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Wed, 27 Mar 2013 13:39:10 +0100 Message-ID: <23134507.xFGMZYEeyB@coil> User-Agent: KMail/4.10.1 (Linux/3.9.0-rc3-l50; KDE/4.10.1; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [9fans] FAT32 question Topicbox-Message-UUID: 37a16f54-ead8-11e9-9d60-3106f5b1d025 On Wednesday 27 of March 2013 08:24:57 Comeau At9Fans wrote: > I'm mounting a FAT32 flashdrive on a RPi. However, it seems that som= e > sort of legacy 8.3 filename situation is existing. For instance, if = I > have a directory containing x.c and a23456789.c that the former is > taken as X.C and the latter is taken as shown. Therefore, to compile= > x.c is not possible. So for instance, echo *.c produces a different > result than echo *.C. I tried mv'ing the problem files and then back= > but same results. >=20 > I do believe that historically there was some sort of interpretations= > such as this in the evolution from FAT to FAT32, but not sure it > should be so in current version, or, at least, other operating system= s > don't take this interpretation. Is there an option or something I'm > missing? How do I get to process x.c as x.c and not X.C. there's no difference between FAT12/16 and FAT32 in treatment of file n= ames, it=20 is entirely up to FS driver to create or skip creation of LFN (Long Fil= e Name)=20 entry, and to use or skip reading an LFN. every file on FAT has 8.3 name, and may, but does not have to have, an = LFN. the=20 8.3 name is of limited charset (one of DOS or WINDOWS codepages) and up= case=20 only, at least in canonical format. to store lowercase characters, you = need=20 LFN. IIRC, some version(s?) of fat drivers on linux did not create LFN for a= file=20 when the long filename was matching case INsensitive the 8.3 file name,= =20 essentially leading to loss of character case information. perhaps something alike is at play here. --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]] ``we, the humanity'' is the greatest experiment we, the humanity, ever=20= undertook.=20