1847165 Members
6315 Online
110263 Solutions
New Discussion

Problem with cd mount

 
SOLVED
Go to solution
steven Burgess_2
Honored Contributor

Problem with cd mount

hello

I have a course CD that I wish to load on one of our hpux servers into the directoryroot for the apache web server

/dailychecks/html/

I have added the path etc to the index.html for the site, the initial link is picked up fine, the problem is when i try to go to other links within the page for the course.

The problem looks to be with the way the cdrom was mounted as the java code expects a "-" when the directory tree and files have a "_". The mount options I have used are

mount -F cdfs -o cdcase /path/to/disk /cdrom

If I load the cd onto a solaris workstation vold mounts it correctly and I have no problems. I have tried to find the mount options that vold uses but to no avail

Can anyone help

Chaars

Steve
take your time and think things through
3 REPLIES 3
Bill Hassell
Honored Contributor
Solution

Re: Problem with cd mount

HP-UX defaults to basic ISO 9660 format which is UPPERCASE and 8.3 character filenames with ; version numbers. This is one several directories that are present on CD's. The -o cdcase option simply moves the 8.3 format to lowrcase and removes the ;1 version.

Your CD is likely formatted to use Rock Ridge extensions which covers a directory that stores long filenames and mixed case. The mount options are listed in two man pages, man mount and man mount_cdfs. If your man page for mount_cdfs does not include the option rr then you need 3 patches. If rr is in the man page, use the option -o rr to use the RockRidge directory on the CD.

That may or may not fix the - to _ characters. Strictly speaking, the ISO 9660 standard (http://en.wikipedia.org/wiki/ISO_9660 and http://www.y-adagio.com/public/standards/iso_cdromr/tocont.htm) defines only alphanumeric characters and the _ (underscore). The Rock Ridge standard can be found at http://www-uxsup.csx.cam.ac.uk/~bjh21/rrip112.pdf


Bill Hassell, sysadmin
steven Burgess_2
Honored Contributor

Re: Problem with cd mount

thanks bill

i have fetched these patches in the past but for a different reason (oracle install to eradicate the use of pfs_mount)

i'll give it a whirl and reply

steve
take your time and think things through
steven Burgess_2
Honored Contributor

Re: Problem with cd mount

ching ching

works a treat

thanks bill
take your time and think things through