Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]How to force uppercase or make vfs case-insensitive?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Simius
Apprentice
Apprentice


Joined: 26 Oct 2002
Posts: 219
Location: Budapest, Hungary

PostPosted: Wed Oct 24, 2007 8:47 pm    Post subject: [SOLVED]How to force uppercase or make vfs case-insensitive? Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23070

PostPosted: Thu Oct 25, 2007 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Simius
Apprentice
Apprentice


Joined: 26 Oct 2002
Posts: 219
Location: Budapest, Hungary

PostPosted: Thu Nov 01, 2007 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum