file name case issue on fat32 (Was: Re: Sharing data files on a dual-boot machine ...)

Dmitry Mityugov dmitry.mityugov at gmail.com
Tue Sep 27 04:39:30 PDT 2005


On 9/27/05, martinko <martinkov at pobox.sk> wrote:
...
> hello,
>
> when i mount a fat32 partition some files have different case (see
> below) then in windows. how come ??
>
> e.g.:
>
> $ ll
> -rwxr-x---  1 root  wheel    734 Mar  1  2005 a.txt
> -rwxr-x---  1 root  wheel    649 Mar 16  2003 A.txt~
> -rwxr-x---  1 root  wheel   1110 Mar 27  2003 b.txt
> -rwxr-x---  1 root  wheel   2980 Jun  6 23:46 c.txt
> -rwxr-x---  1 root  wheel   2475 Mar  1  2005 C.txt~
> -rwxr-x---  1 root  wheel   2563 Jun 10 12:49 d.txt
> -rwxr-x---  1 root  wheel   2561 Jun 10 12:42 D.txt~
> -rwxr-x---  1 root  wheel   1015 Jun  7 00:25 e.txt
> -rwxr-x---  1 root  wheel    681 Mar 16  2003 E.txt~
> -rwxr-x---  1 root  wheel    602 Mar 16  2003 f.txt
> -rwxr-x---  1 root  wheel    421 Mar 16  2003 g.txt
>
> in windows all the files above have first letter in uppercase, that is
> "A.txt" for instance.
>
> is this a known issue (why??) or am i missing something or what?

Guess this is how FAT32 stores long names. Am I right that you get
such duplicates only for files with names that do not conform the DOS
naming convention? (with names >8 chars, extensions >3 chars, and/or
lower case characters in names/extensions?)

--
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

"We live less by imagination than despite it" - Rockwell Kent, "N by E"


More information about the freebsd-questions mailing list