Operating System - HP-UX
1834497 Members
2639 Online
110067 Solutions
New Discussion

CDROM file names appear in Capital letters

 
SOLVED
Go to solution
Vinod_22
Advisor

CDROM file names appear in Capital letters

Hi all,

I'm facing a weird problem while mounting a cdrom in HP-ux. Before start I'm sharing the platform details
Hardware
model: 9000/800/A500-6X
OS:HP-UX qahp02 B.11.11 U 9000/800 899920610 unlimited-user license
Now when I 'm trying to mount cdrom by following two steps as
Step 1 ioscan -fnC disk|grep -v cdrom
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/1.15.0 sdisk CLAIMED DEVICE HP 36.4GATLAS10K3_36_SCA
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 1 0/0/2/0.1.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0


Step 2 mount -F cdfs /dev/dsk/c2t1d0 /cdrom

After step 2 I can able to see the DVD contents but the file names are appearing in capital letters and that to some letters are cropped.

ls -l cdrom
# cd /cdrom
# ls
README_N.HTM
SCIINSTA.JAR
WMS.JAR
WMS_ADD-.JAR

The actual file name is Sciistaller.jar but it appears as SCIINSTA.JAR
What could be the problem ?

Thanks
- Vinod
5 REPLIES 5
Jeff_Traigle
Honored Contributor

Re: CDROM file names appear in Capital letters

It's using the Rock Ridge format. If you have the appropriate patch installed, you can use the following command to mount it:

mount -F cdfs -o ro,rr,noauto /dev/dsk/cXtYdZ /mount_point


If that doesn't work, use the follwoing procedure:

pfs_mountd &
pfsd &
pfs_mount -t rrip -x unix /dev/dsk/cXtYdZ /mount_point
pfs_umount /mount_point
--
Jeff Traigle
Vinod_22
Advisor

Re: CDROM file names appear in Capital letters

Hi Jeff,

Thanks for the quick reply. I tried both the option but it give up.
# /usr/sbin/pfs_mountd &
[3] 5884
# /usr/sbin/pfsd &
[4] 5890
# pfs_mount -t rrip -x unix /dev/dsk/c2t1d0 /cdrom
pfs_mount: /dev/dsk/c2t1d0 on /cdrom: not rrip.
pfs_mount: giving up on /cdrom

Could you tell me whihc pathces I need to look for ? My OS version is B11.11
Tim Nelson
Honored Contributor

Re: CDROM file names appear in Capital letters

PHCO_25841 1.0 Add Rock Ridge extension to mount_cdfs(1M


search the ITRC patch database for the latest.

James R. Ferguson
Acclaimed Contributor

Re: CDROM file names appear in Capital letters

Hi Vinod:

For 11.11 you need three patches to enable native mounts of RockRidge CDs:

PHCO_25841
PHKL_34153
PHKL_26269

A reboot will be required to install these. Once done, however, you simply do:

# mount -F cdfs -e -o ro,rr /dev/dsk/c2t1do

Regards!

...JRF...
Bill Hassell
Honored Contributor
Solution

Re: CDROM file names appear in Capital letters

Do not use hte PFS commands as they are quite unstable in 11.11 and later. If you do not have the 3 patches mentioned, the -orr option will do nothing. The ALL CAPITAL letters is normal for ISO 9660 standard filenames. But CDROMs have multiple directories and to access the Rock Ridge directory, you'll need the 3 patches to see the lowercase filenames, with mIxEdCaSe and no ;1 extensions. Get the patches from here:

http://www11.itrc.hp.com/service/patch/search.do?BC=main|&pageOsid=hpux


Bill Hassell, sysadmin