Operating System - HP-UX
1833589 Members
4337 Online
110061 Solutions
New Discussion

Problems with long filenames when mounting cd-rom!

 

Problems with long filenames when mounting cd-rom!

Hi,

i tried to read a cd-rom recently created on a windows pc containing files with long names (more than eight characters). I tried to mount my cd-rom on my hp-ux 10.20 system, but cannot read the long names, as they are shortened. I could overcome the problems of capital letters and semikola, but could not fix the problem with the correct representation of the filename. Even if copied on the disk the filenmae remains unchanged (i.e. test_r~3.gz). I tried either to mount it with the mount, as with the psd_mount command, but could not solve the problem. Does anyone have an idea?
8 REPLIES 8
Deepak Extross
Honored Contributor

Re: Problems with long filenames when mounting cd-rom!

Vincent Farrugia
Honored Contributor

Re: Problems with long filenames when mounting cd-rom!

Hello,

Use pfs_mount. Do a man pfs_mount for details.

I guess the -t iso9660 will help you, not sure though. If not, then try another setting.

HTH,
Vince
Tape Drives RULE!!!
Roger Baptiste
Honored Contributor

Re: Problems with long filenames when mounting cd-rom!

hi,

First unmount and eject the CD; To start afresh.

NExt insert it and try, mount /dev/dsk/ -o cdcase /cdrompath

IF the filenames show up fine, you are done.

Otherwise, you would need to use PFS route.
For this: please check the document at:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=2ca49fff164810546e/screen=ckiSearchResults?mode=id&searchString=RCFAXPFS001

PFS has been discusses at length here. Make sure you follow the instructions to the tee.

HTH
raj
Take it easy.
Sanjay_6
Honored Contributor

Re: Problems with long filenames when mounting cd-rom!

Hi,

Try to mount the cdrom with cdcase option. You can also try pfs_mount as suggested in the link above.

For cdcase option,

mount -F cdfs -o cdcase /dev/dev/cf_dev_file /mount_point

Hope this helps.

Regds
Wodisch
Honored Contributor

Re: Problems with long filenames when mounting cd-rom!

Hello Gian Antonio,

you will have to use the PFS (Portable File System) with the "RRIP" (RockRidge extensions to ISO9660 Protocol) or "HSFS" (High Sierra File System).
On the forums most often you'll find this explained for "Installing Oracle8", as they use those formats on their CDs.
So have a look onto the PFS part there:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5de1f9beca68d511abcd0090277a778c,00.html

HTH,
Wodisch

Re: Problems with long filenames when mounting cd-rom!

Hi again,

thanks for all comments. I tried everything, but unfortunately nothing worked.
with the rrip extension i get that failure notice:
pfs_mount: /dev/dsk/c0t0d0 on /cdrom: not rrip.
pfs_mount: giving up on /cdrom

and with the hsfs extension i get that one:
pfs_mountd.rpc: Can't open /dev/dsk/c0t0d0: I/O error
pfs_mount: /dev/dsk/c0t0d0 on /cdrom: open failed: I/O error

I really checked each possible option for the mount and pfs_mount command. I checked the cd on our Linux system and there i had no problem. So i will have to transfer the data via our network.

Neveretheless thank you for your help.

Gian Antonio
Ken Hunter
Advisor

Re: Problems with long filenames when mounting cd-rom!

I ran into this scenario today. Unless there's a patch for it - hp10.20 will not properly read the JOLIET cdrom format - which is the format for most any nowa-days windows cdrom.

However - you can create (if you have control of this) the cdrom using iso9660, and enable the 30 character filename option. You will have to rename any files that have more than one dot '.' in the filename. This was my experience when creating a cdrom that is readable by both windows and hpux10.20. The cdrom was created on a windows nt4.0 box, using adaptec's easy cd creator.

Good Luck

Ken
Lead, Follow, or Get out of the Way! - USMC
Joseph A Benaiah_1
Regular Advisor

Re: Problems with long filenames when mounting cd-rom!

You can mount the CD using the pfs_mount command.

Start up the following daemons:

/usr/sbin/pfs_mountd
/usr/sbin/pfsd 4

Run:

pfs_mount -o xlat=unix /dev/dsk/c2t2d0 /cdrom

To unmount:

pfs_umount /dev/dsk/c2t2d0

Cheers,

Joseph.