LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Case sensitive ISO 9660? (https://www.linuxquestions.org/questions/linux-newbie-8/case-sensitive-iso-9660-a-553533/)

jaykup 05-13-2007 09:20 AM

Case sensitive ISO 9660?
 
When I mount an ISO 9660 image on windows, I get all the file names in both upper and lower case. When I mount this under linux, they are all lower case. This makes it difficult to install a game when the linux_installer script calls for case sensitive filenames. In the past I've had to install an ISO 9660 image of a game under windows first, and copy the files over.

Is there an option somewhere I missed to make them show the proper case?

macemoneta 05-13-2007 09:33 AM

On the mount command, you can try options map=off and/or check=relaxed. For example:

mount /mnt/cdrom -o map=off,check=relaxed

jaykup 05-13-2007 09:52 AM

If it matters, I'm trying to mount an ISO image.

it seems that map=off makes everything uppercase, and check=relaxed does nothing to the case. Also, map=on doesn't seem to work with that file type. I looked in the man page, but didn't see check or map under the -o.

For example:

On Linux:

Code:

$ mount ~/ISO/mygame.iso /mnt/iso -o loop
$ cd /mnt/iso
$ ls
autorun.inf*  cd2/  cd4/  cd6/                setup.exe*
cd1/          cd3/  cd5/  linux-installer.sh*
$ umount /mnt/iso

---------------------------------------------------------------

$ mount ~/ISO/mygame.iso /mnt/iso -o loop,map=off,check=relaxed
$ cd /mnt/iso
$ ls
AUTORUN.INF*  CD2/  CD4/  CD6/                SETUP.EXE*
CD1/          CD3/  CD5/  LINUX-INSTALLER.SH*

On Windows:

Code:

Autorun.inf
CD1/
CD2/
CD3/
CD4/
CD5/
CD6/
Linux-Installer.sh
Setup.exe


jaykup 05-13-2007 10:40 AM

Turns out I didn't have joliet extensions enabled in my kernel. I've tried the same command again, but getting ;1 at the end of each file name. However, the case is correct.

Quote:

map=n[ormal] / map=o[ff] / map=a[corn]
For non-Rock Ridge volumes, normal name translation maps upper to lower case ASCII, drops a trailing `;1', and converts `;' to `.'. With map=off no name translation is done.
What I need is it to drop the ;1 but don't do any other translation :( Any ideas?

macemoneta 05-13-2007 11:22 AM

This is the normal situation. Was your disk burned without Rock Ridge extensions, or are you missing the support?


All times are GMT -5. The time now is 10:57 PM.