LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Red Hat EL4 changes the case of file names (https://www.linuxquestions.org/questions/red-hat-31/red-hat-el4-changes-the-case-of-file-names-582445/)

sporks 09-05-2007 02:45 PM

Red Hat EL4 changes the case of file names
 
We have a computer for a statistical machine in our labgroup with Red Hat EL4 on it. The student that uses it also uses Windows machines to do his work. When he puts files on his USB drive to transfer to the RH machine the OS automatically takes any files named in all caps and makes them all lower case. In the case of programs this presents a problem for him when he develops something with Fortran for R and then the filename case changes.

I attempted to make the USB drive mount mixed by using a configuration file for HAL I found here. While it leaves items that have a mixed filename like FileName.R unmolested it still makes FILENAME.R into filename.r.

Any suggestions? This makes the computer rather undesirable for him to use when it exhibits this characteristic.

cgjones 09-05-2007 04:33 PM

I am not 100% sure about this, but I think the problem lies in the fact that Windows is not case sensitive. Linux is case sensitive.

sporks 09-05-2007 04:45 PM

On Windows it is in all upper case, when the USB drive is plugged into the Red Hat machine it becomes lower case. Note that other cases do not change if mixed.

I understand that Windows does not recognize the difference in case like Linux does but that doesn't explain why Red Hat changes the case entirely. Windows at least leaves the case the way it was set by the user.

cgjones 09-05-2007 05:03 PM

I don't think that Red Hat is technically changing the case. My guess would be that since FileName.R is mixed case, the case is preserved. Since FILENAME.R and filename.r are all one case, the case isn't preserved.

And then again, I may be completely wrong.


All times are GMT -5. The time now is 03:24 AM.