Linux Problems, Causes and Solutions
Uppercase names become lower case on vfat volume
Problem
- Directories and files that are all uppercase, become lower case on vfat volume, eg CVS becomes cvs or VIDEO_TS becomes video_ts.
- Mixed case names are preserved, eg MyFiles stays MyFiles.
Cause
- The vfat file system is getting confused.
Solution
- Add the shortname=mixed option when mounting file system.
- When mounting manually:
mount /dev/hda5 /mnt/windows -o shortname=mixed -t vfat
- Edit /etc/fstab:
/dev/hda5 /mnt/windows vfat noauto,shortname=mixed 0 0