Click to See Complete Forum and Search --> : Upper case names in FAT32


NeilBlue
08-18-2001, 05:42 AM
Hello,

I have a symcolic link on a linux partition to a FAT32 partition where I store some common data. I have a directory called web-inf on the FAT32 partition, but when I try to rename it with mv web-in WEB-INF. it won't let me:

mv: cannot move `web-inf' to a subdirectory of itself, `WEB-INF/web-inf'

please could someone explain this and/or tell me how I can make this change.

thank you
Neil Blue

Malakin
08-18-2001, 05:55 AM
Do two move operations, once to rename it and 2nd to name it back and change the case. example "mv X z" "mv z x"

NeilBlue
08-18-2001, 06:01 AM
I have tried this but the second move just renames it to the original lower case version and not the upper case one that I want.

e.g.
mv web-inf ww
mv ww WEB-INF

still results in 'web-inf' :(

Malakin
08-18-2001, 06:47 AM
Then there probably isn't an easy way to do it. This would have to do with how it's mounted, and I don't see any options in the mount manual that effect this for fat32.

Edit:
I noticed the mount manual is rather ancient (1997) so I tried a few things.
It accepts the posix option when mounting vfat but it still doesn't allow you to write uppercase.

[ 18 August 2001: Message edited by: idealego ]

NeilBlue
08-18-2001, 08:42 AM
OK thanks for the help idealego. I will just have to work around it :)

Cheers
Neil