[H-GEN] Case Sensitivity

David Duffy avd at audiovisualdevices.com.au
Mon Feb 12 17:52:19 EST 2001


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]


>On 12 Feb 2001, David Duffy <avd at audiovisualdevices.com.au> wrote:
>
> > Hi,
> > I've got a Win98SE peer to peer network that each map a drive
> > to a FAT32 HDD in my Linux box. It all works great apart from
> > some odd things with filename & directory case.
> >
> > If I have a directory called "TEST" for example and I try to change it
> > to "test" or Test" from the Windows machines, it just stays the same
> > as it was. Same goes for filenames as well. Most of the time this does
> > not make any difference but I need the case to be correct for the html
> > data I have there for my web site. Even if I rename the offending file or
> > directory to something else then back to what I want it still goes back
> > to what it was originally! Is this normal? Any way around it?

Martin Pool wrote:
>DOS-descended filesystems are case-insensitive, and VFAT and NTFS are
>kind-of-case-preserving.  I say kind of because there are special-case
>kludges that apply to files all in upper case, presumably to ease the
>migration from DOS to W95.

Geeze I hate Windows sometimes. If only I didn't have so much damn
software that's not available for Linux. I can't wait to get Kylix and port
some of my Delphi applications over. :-)

>So from Windows' point of view, renaming "TEST" to "test" or "Test" is
>a no-op, and so it does not transmit the request to the server.
>You've already discovered the workaround: rename the file to "temp"
>first, then to the name you really wanted.  Alternatively, set Samba
>to always collapse case, or rename the file on the Linux machine.

It's even weirder than that! If I rename "TEST" to "testing" then to "test"
it still jumps back to the previous case - almost like it's caching it?
But... if I can create a new file in whatever case I like. If you then rename
it a couple of times it turns to all upper case. I might just have to fix the
case of the wrong ones directly on the Linux machine. Oh well.  :-(
Hmmm... how do I set the mangled options just for the web directory?
Regards...

___________________________________________
David Duffy        Audio Visual Devices P/L
U8, 9-11 Trade St, Cleveland 4163 Australia
Ph: +61 7 38210362   Fax: +61 7 38210281
New Web: www.audiovisualdevices.com.au
___________________________________________


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list