[lug] Capitalization of mounted drives?

Elyse M. Grasso emgrasso at data-raptors.com
Mon Aug 29 08:50:47 MDT 2005


On Monday 29 August 2005 12:07 am, Lee Woodworth wrote:
> Elyse M. Grasso wrote:
> > I have a java directory tree containing about 10,000 files on a USB thumb 
> > drive. 
> What type file system does the thumb drive have? IIRC, mount -t msdos/fat
> mucks with file name case, mount -t vfat doesn't.
> > 
> > When I mount the drive on Linux, many, but not all, of the directories and 
> > files lose their capitalization. On windows they are fine. Is there an 
> > incantation I can use in /etc/fstab that will keep this from happening?
> > 
> > It looks like names that are all caps get lowercased, and names that have 
a 
> > completely capitalized section get lowercased (FTP.jar goes to ftp.jar, 
which 
> > makes things that depend on it really unhappy) but names with a mix of 
cases 
> > before the dot seem to stay unchanged. 
The thumb drive was being mounted vfat when the problems happened. 
msdos made things worse. However, using vfat with an option of shortname=winnt 
seems to work.

Thanks
-- 
Elyse Grasso

http://www.data-raptors.com    Computers and Technology
http://www.astraltrading.com   Divination and Science Fiction



More information about the LUG mailing list