fergus
11-13-2007, 02:48 PM
On my NTFS filesystem I have a directory called Windows, not WINDOWS. If I
mount -t ntfs -o rw /dev/hda1 /c
then
ls /c/Windows
lists files as required and
ls /c/WINDOWS
returns an error message, no such directory.
But: on my FAT32 filesystem I have a directory called WINDOWS, not Windows. If I
mount -t vfat -o posix,shortname=winnt /dev/hda1 /c
then
ls /c/Windows
lists all the files under /c/WINDOWS, as does
ls /c/WINDOWS
This is very annoying. I have played with every possible variation on options to -t vfat including shortname=mixed, etc. Can anybody tell me what options to -t vfat provide a foolproof distinction between lower case and upper case? (ie. will return an error message when any attempt is made to address a directory or file with casename errors)?
Thank you
mount -t ntfs -o rw /dev/hda1 /c
then
ls /c/Windows
lists files as required and
ls /c/WINDOWS
returns an error message, no such directory.
But: on my FAT32 filesystem I have a directory called WINDOWS, not Windows. If I
mount -t vfat -o posix,shortname=winnt /dev/hda1 /c
then
ls /c/Windows
lists all the files under /c/WINDOWS, as does
ls /c/WINDOWS
This is very annoying. I have played with every possible variation on options to -t vfat including shortname=mixed, etc. Can anybody tell me what options to -t vfat provide a foolproof distinction between lower case and upper case? (ie. will return an error message when any attempt is made to address a directory or file with casename errors)?
Thank you