View previous topic :: View next topic |
Author |
Message |
Simius Apprentice
Joined: 26 Oct 2002 Posts: 219 Location: Budapest, Hungary
|
Posted: Wed Oct 24, 2007 8:47 pm Post subject: [SOLVED]How to force uppercase or make vfs case-insensitive? |
|
|
I have a CD with an e-book in html format on it.
It works on all imaginable computers with a web browser.
It doesn't work on Linux.
The reason? Let me quote Mozilla Firefox.
"Firefox can't find the file at /mnt/cd0/STB/COVER.HTM."
Now, it's not that the CD is defective. But it contains a directory called "stb" instead of "STB", with a "cover.htm" instead of a "COVER.HTM".
This is such a primitive problem it makes me want to scream - and there seems to be no workaround. The -o case=upper mount option doesn't work, and if I use -o nojoliet, everything becomes lowercase instead of uppercase.
Is there a way to make vfs case-insensitive for a certain mounted filesystem? Or to make it mount the cd with every filename in uppercase? (I wonder if that would solve my problem... Maybe the creators used lowercase somewhere else...) _________________ You kinda have to sneak up on a mac...
- PC vs MAC (http://www.youtube.com/watch?v=iEAGmBRC1dc)
Last edited by Simius on Thu Nov 01, 2007 3:36 pm; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23070
|
Posted: Thu Oct 25, 2007 1:11 am Post subject: |
|
|
Try adding check=relaxed to your mount options. According to the mount manpage, this should force all names supplied by applications to lowercase before performing the lookup. |
|
Back to top |
|
|
Simius Apprentice
Joined: 26 Oct 2002 Posts: 219 Location: Budapest, Hungary
|
Posted: Thu Nov 01, 2007 3:36 pm Post subject: |
|
|
Thanks, this solved it.
Code: | mount /dev/sr0 /mnt/cd0 -o check=relaxed -o map=normal |
_________________ You kinda have to sneak up on a mac...
- PC vs MAC (http://www.youtube.com/watch?v=iEAGmBRC1dc) |
|
Back to top |
|
|
|