Help - Search - Members - Calendar
Full Version: Normal Linux Behavior?
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Sharp ROMs
Jon_J
Over the past several months, I've noticed that when I copy a file or directory from my windows machine to my Zaurus, the "case" gets changed.
This only happens to a file or folder which is named with all UPPERCASE characters.

My folder, "GPS" becomes "gps"
When I look at this folder while connected thru USB, in windows, it is "GPS"
When I look at it in file browser on my Zaurus, and/or Tree!Explorer, it is "gps"

This wasn't a problem to me until I copied some htm/html files, (complete with folder of images), to my Zaurus from my windows desktop.
I was puzzled why some of the images wouldn't appear in Netfront or Picsel Browser, when I opened these offline pages.
I found an example today, what was causing this problem.
I have a htm "manual" for my GPS card and there is one image in the image folder that is all UPPERCASE.
It became lowercase when copied to my Zaurus.
I tried to rename this file in Tree!Explorer, but I couldn't rename it because of this error:
"QDir::rename()"
All permissions were available for this file, but it still wouldn't let me rename it back to all CAPS.
So I opened a copy of the "htm" file in a text editor on my desktop. (I don't have a htm/html editor).
I changed this line from:
<p align="center"><img src="Manual_files/CF-GPS.gif
to
<p align="center"><img src="Manual_files/cf-gps.gif
I saved the file and copied it over the one on my Zaurus, and now this image shows in Netfront and Picsel Browser, just like it is supposed to. smile.gif

What causes this behavior?
anything named in all CAPS becomes all lowercase when copied to my Zaurus.
I use Cacko Lite with no modifications.
Thank you for reading this long post,
Jon
Mjolinor
I think the problem is not with Linux but Windo$e. There is no discrimination between upper and lower case file names on Windo$e so it isn't a problem . Linux has no way of knowing if the letters are upper and lower case in the file names.

It gets more difficult when you copy them from Linux to Windo$e and you have both upper and lower case files with the same name in the same directory.
Meanie
QUOTE(Mjolinor @ Jun 10 2006, 04:22 PM)
I think the problem is not with Linux but Windo$e. There is no discrimination between upper and lower case file names on Windo$e so it isn't a problem . Linux has no way of knowing if the letters are upper and lower case in the file names.

It gets more difficult when you copy them from Linux to Windo$e and you have both upper and lower case files with the same name in the same directory.
*


that's definitively window's fault. if a file or folder has mixed upper and lower case letters, then the case is preserved when copied but if they are all uppercase, then they are turned into all lower case. there is a registry setting to disable this feature so the filenames remain all uppercase. search annoyances.org for the setting.
Jon_J
I searched annoyances.org for this and here is the result.
There are other results under the XP forum, but they all pertain to this particular subject.
http://www.annoyances.org/exec/show/article02-101
I'll quote the first part of it:
----------------------------------------------------------------------------------------------
By default, Explorer displays uppercase (all caps) 8.3 DOS-style filenames (such as "README.TXT") in a "prettier" format (such as "Readme.txt).
If the filename has more than eight letters (not including the extension), or if the filename contains at least one space, the capitalization is not modified.
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)
----------------------------------------------------------------------------------------------
Look at the last sentence,
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)

There is a registry setting for this, but it only effects how windows explorer, desktop folders, and windows program's file dialogs, display uppercase filenames and foldernames.
It doesn't actually change the uppercase to lowercase, it just changes the way it looks in windows.

So what is actually changing my all caps folders/files to all lowercase when I transfer files from my windows box to my Zaurus?
pockie
Was a solution to this issue ever found? When I copy files from my Linux system to my FAT32 formatted USB drive, it makes some of the directory names lowercase. This is causing problems and it sounds like the original issue in this thread was the same problem.

Was there a resolution?
the_oak
QUOTE(Jon_J @ Jun 10 2006, 01:47 PM) *
I searched annoyances.org for this and here is the result.
There are other results under the XP forum, but they all pertain to this particular subject.
http://www.annoyances.org/exec/show/article02-101
I'll quote the first part of it:
----------------------------------------------------------------------------------------------
By default, Explorer displays uppercase (all caps) 8.3 DOS-style filenames (such as "README.TXT") in a "prettier" format (such as "Readme.txt).
If the filename has more than eight letters (not including the extension), or if the filename contains at least one space, the capitalization is not modified.
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)
----------------------------------------------------------------------------------------------
Look at the last sentence,
(Note: Windows doesn't actually change the capitalization of any files, only the way they're displayed in Explorer.)


I think they are lying!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.