[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preserving uppercase filenames on vfat partitions



On 2009-09-06 21:07 +0200, Patrick Wiseman wrote:

> I recently encountered a problem others have run into before - the
> default behavior on Linux of converting short, uppercase filenames on
> vfat partitions to lower case.  Every time I mounted a disk with a
> vfat partition on it, a directory with an uppercase name suddenly had
> a lowercase name, and a script (which relied on its remaining upper
> case) failed.

Why does it not find the name?  VFAT is case-insensitive, after all.

> It turns out that vfat partitions on Linux, for reasons I cannot
> fathom, default to "shortname=lower", shortname being an option which
> determines how shortnames of the 8.3 type are stored.[1]

I think the reason is readability; at least I would find directory
listings where many filenames have only uppercase letters annoying and
hard to read.

Sven


Reply to: