mounting ISO9660 non-Rock Ridge CD on Suse 9.2

Lucio Chiappetti <[email protected]> Mon, 22 Aug 2005 14:37:22 +0200 (CEST)
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
I have to mount a CD containing satellite data (ISO9660 without Rock Ridge 
extension, see ref. [1]) onto the DVD drive of a new HP Compaq dc7100 
running Linux Suse 9.2.

I used the CD in the past on other systems (Alphas with OSF, and Suns with 
Solaris) with no particular problems, however now I'm incurring in a 
case-sensitivity problem.

The problem is as follows :

  - if I mount the CD by default (inserting it into the drive) using the
    default fstab entry [see ref. 2] I get lowercase filenames like
    odf/0519_0065760201_m1s00100aux.fit  

  - if I mount the CD manually using 
    mount -t iso9660 -o map=off /dev/dvd /media/dvd 
    I obtain uppercase filenames with version number like
    ODF/0519_0065760201_M1S00100AUX.FIT;1       

  - the software which is supplied to analyse such satellite data expects
    instead uppercase FILE names WITHOUT version number e.g.
    anypath/0519_0065760201_M1S00100AUX.FIT       
    and therefore fails on internal consistency checks
 
  - using map=off,check=r (relaxed check as implied by man mount) does not
    work (gives uppercase names with version)

  - using ONLY check=r (as suggested by ref. 1) does not work (gives 
    lowercase names as the default, but the checks seem not to be ignored
    as ref. 1 seems to tell)

I also tried adding "norock" to the options, or issuing mount commands on 
alternate mount points using "subfs" (see ref. 2, since I suspected some 
interference) like

mount -t subfs /dev/dvd /mnt -o fs=iso9660,check=r,ro  

but none of them work. On the other hand it seems there is not a 
"-noversion" option like there was on other Unixes.

At the end I found a fix doing a foreach loop on each file in the CD, 
softlinking it into a disk directory with an uppercase name without 
version number. But I do not regards this as very elegant or efficient.

Is there any way to mount the CD on Suse and obtain uppercase filenames 
without version numbers ?


---------------------------------------
reference [1] - CD format documentation

http://xmm.vilspa.esa.es/external/xmm_data_acc/xmm_cds_frame.shtml   

---------------------------------------
reference [2] - default fstab

The fstab entry for the DVD drive uses the rather new (at least new for 
me) subfs filesystem :

/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 


----------------------------------------------------------------------------
Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html
----------------------------------------------------------------------------
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers