1821247 Members
2894 Online
109632 Solutions
New Discussion юеВ

HP UX CD ROM mounting

 
schandra
New Member

HP UX CD ROM mounting

Hello,
I had a problem mounting the CD ROM in HP UX 11.11 system.
When I used the command,
mount -o rr /cd

all the filenames are in UPPERCASE;1 and 8.3 format.
When I used the command,

mount -F cdfs -o cdcase /cd

all the filenames are in lowercase and 8.3 format. This was the case even when I used the command

pfs_mount -o xlat=unix /cd

How do I overcome this problem to view the unix filenames of the files present in the CD ROM?
5 REPLIES 5
Steven Schweda
Honored Contributor

Re: HP UX CD ROM mounting

You might try "-o rr", but the basic CD-ROM
ISO 9660 file system was designed to
accomodate VMS, among other operating
systems, and on VMS, upper-case names with
version numbers (like ";1") are normal. Many
UNIX (and UNIX-like) operating systems will
alter the original ISO 9660 file names to
make them look more natural to a UNIX user,
but those names you don't like are the actual
file names on the CD-ROM.

Extensions to the original ISO 9660 standard
exist, such as the Rock Ridge one, which
allows longer (and more UNIX-like) file
names, but these may or may not exist on any
particular CD-ROM. (Also, Microsoft,
naturally, has its own extended file name
scheme, and HP-UX may not deal with that
one.)

What, exactly, is the CD-ROM you're trying to
use, and are you sure that there are extended
file names of some sort on the thing?
schandra
New Member

Re: HP UX CD ROM mounting

The CD is written using NERO in Microsoft. It is a customised CD with some files in it. These files have to be copied to the HP-UX server.

When I try to mount the CD in the HP UX system, I get these uppercase filenames. So, when I copy them in the HP UX system, the filenames are modified and I could not run my application.

Is there any specific way in which the CD should be written which will help retain the longer (and mixed case) filenames?
Steven Schweda
Honored Contributor

Re: HP UX CD ROM mounting

I don't know how to tell your Nero program
(version unknown) to add the Rock Ridge name
data to the CD, but I'd expect it to be able
to do that. (Certainly, mkisofs can do it.)
If you can't learn how to make your Nero
version do that (for whatever reason), you
could try a different approach.

It might be less convenient, but you could
use a Zip program on Windows to create a Zip
archive of the files (which should preserve
their original names), then put that Zip
archive onto a CD-ROM (with some simple
name), and then UnZip the archive on the
HP-UX system (which should use the original
file names).

A quick Google search for
nero "rock ridge"
found a reference to Nero version 5.5 doing
Rock Ridge, so it may not be impossible to do
it the easy way.
Bill Hassell
Honored Contributor

Re: HP UX CD ROM mounting

CDROM mounts have been very confusing. The (only) correct option is -orr, *BUT* it is silently ignored if you don't have the (exactly) 3 RockRidge patches. PFS and -ocdcase should never be used -- PFS is very unstable, especially at 11.xx and requires NFS to function, while -ocdcase is a simple hack to lowercase the ISO 9660 8.3 names and remover the version number, and long filenames are not shown.

-orr will mount RockRidge extension CDs (also known as ECMA 168 or POSIX standards) just fine once you install the 3 patches (reboot required):

PHCO_25841 PHKL_26269 PHKL_34153

No patches are necessary for 11.23. NOTE: Do NOT use Joliet for recording CDs on your PC. Unfortunately, most CD authoring software hides the actual format behind a 'user-friendly' interface. Joliet is PC-only and not portable (HP-UX will not read these CDs except in ISO 9660 format). The man page: mount_cdfs will show the CD mount options.

CDs are very unique filesystems as the names (directories and files) can exist is several formats at the same time.


Bill Hassell, sysadmin
V. Nyga
Honored Contributor

Re: HP UX CD ROM mounting

Hi,

you have to search an option in Nero for 'ISO 9660'. DON'T use 'Joliet'.

see also my thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=70917

Check also Caesar's answer there:
'I burn my disks with nero there i seelect
mode2 and 31chars for files on hp i use
mount -o cdcase ....
and i see the chars OK.'

HTH
Volkmar
*** Say 'Thanks' with Kudos ***