Operating System - HP-UX
1827011 Members
2384 Online
109713 Solutions
New Discussion

Re: mounting a CD on HP-UX that was burned on windows

 
Daryl Much
Frequent Advisor

mounting a CD on HP-UX that was burned on windows

Hello folks,

I searched the itrc and opened a support ticket but can't seem to find the correct answer. Does anyone know the proper way to burn a cd on windows (xp, nt, whatever) that can be mounted on hp-ux (11i, dec 04 patches) AND that will preserve the filenames?

I've tried using the "built in" cd burning s/w on XP and I've also used nero. Both generated mountable disks, however the filenames were truncated to mostly 8.3 format. I used "mount -o cdcase". Without the "-o cdcase" option I'd get uppercase and 8.3;1 stuff (looks like old vms to me). I've also tried the various and sundry other options, including resorting to the old pfs_mount as well. I just can't seem to get it right.

What I'm trying to do is create cd's that contain patches and bundles I've downloaded. Each time the cd's look fine on windows however the names get munged on hp. I believe the problem is I need to specify Rock Ridge format?? dunno.

Any advice is greatly appreciated.

Thanks,

Chuck Davis
14 REPLIES 14
RAC_1
Honored Contributor

Re: mounting a CD on HP-UX that was burned on windows

mount -o cdcase,rr /dev/dsk/cxtxdx /mount_point
There is no substitute to HARDWORK
Daryl Much
Frequent Advisor

Re: mounting a CD on HP-UX that was burned on windows

RAC,

Thanks but nope, "-o cdcasr,rr" doesn't work. still have the truncated file names. I guess the question is: how do I create rock ridge formatted cd's on windows...meanwhile I'm googling...

Chuck
RAC_1
Honored Contributor

Re: mounting a CD on HP-UX that was burned on windows

mount -F cdfs -o cdcase /dev/dsk/cxtxdx /mount_point
There is no substitute to HARDWORK
Daryl Much
Frequent Advisor

Re: mounting a CD on HP-UX that was burned on windows

Still no good. I've tried already most of the mount option permutations. I think the problem is on the windows side when creating the cd's.

Thanks...

Chuck
RAC_1
Honored Contributor

Re: mounting a CD on HP-UX that was burned on windows

fstyp -v /dev/dsk/cxtxdx (cdrom device)
What does it give??

I think you need
mount -F iso9660 -o cdcase /dev/dsk/cxtxdx /mount_point
There is no substitute to HARDWORK
Daryl Much
Frequent Advisor

Re: mounting a CD on HP-UX that was burned on windows

the fstyp shows its cdfs format:
cdfs
f_bsize: 2048
f_frsize: 2048
f_blocks: 42279
f_bfree: 0
f_bavail: 0
f_files: 18446744073709551615
f_ffree: 0
f_favail: 0
f_fsid: 520093696
f_basetype: cdfs
f_namemax: 37
f_magic: 0
f_featurebits: 0
f_flag: 0
f_fsindex: 2
f_size: 42279

the problem boils down to windows doesn't support rock ridge extenstions. I'm not sure if there is any s/w for windows that does. So to get around this problem, I took all my files on unix and created a tar file, naming it in 8.3 format. Then I burned it to cdrom on windows. I burned it 2 ways, 1st with nero, and then with built in burner on xt. The nero cd will mount fine as long as I use the "-o cdcase" option (otherwise I get the UPPERCAS.TXT;1 filenames). The winxp burned cd requires me to mount w/ pfs. Since I don't want to use the pfs utilities I'm going to stick with tarring files on unix and using nero to burn cd's on windows.

Thanks for the input, RAC.

Regards,

Chuck
RAC_1
Honored Contributor

Re: mounting a CD on HP-UX that was burned on windows

You can install rock ridge format patch and mount it with
mount -F cdfs -o rr /dev/dsk/cxtxdx /mount_point
There is no substitute to HARDWORK
Tom Henning
Trusted Contributor

Re: mounting a CD on HP-UX that was burned on windows

When I have to burn a CD like this, I tend to use a clumbersome, but effective method. Get the DVD-CDRW utilities package from the HP software depot (free download -- http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXDVDWRITE )and install it on the HP-UX box. Then you can use mkisofs(1) to create an ISO image in rockridge format. Move the ISO image to the windows box and use Nero to burn it to the disk (not certain Neroo supports this, I do not use it here at work. I have the Sonic software for burning on the PC at work and it supports it just fine).

I have been using this method for some time and have had decent success with it, it just take a bit longer. The resultant disk is mountable using the -orr option, and the filenames read just fine.
What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?
David DeWitt_2
Frequent Advisor

Re: mounting a CD on HP-UX that was burned on windows

Chuck,

It looks like there are a couple of tools on the web that could work. I haven't tried any of these. Have you?

http://www.hycd.com/html/pc_technology.html

http://www.cdeverywhere.com/

-dave
Bill Hassell
Honored Contributor

Re: mounting a CD on HP-UX that was burned on windows

Here's the story: Your PC cannot generate an HP-UX style CD that can be mounted with long filenames and MiXeDcAsE names. The reason is that the HP-UX format is technically a small violation of the CDROM standard and has been that way since CDs were first released for HP-UX more than a decade ago.

HP provided two hacks around this, one that simply reads the ISO 9660 directory (which is present on all CDs) and contains only 8.3 names plus a version number (;1). The -ocdcase option to mount will remove the ;1 and lower the case but still provides 8.3 names.

The second method is PFS (Portable File System) which uses NFS to perform a translation from the raw CDROM device file and then attach the results using NFS to the same computer. It is quite unstable, especially at 11.00 and later.

The correct method is to patch to the latest patch set (SupportPlus Dec 2004 or Mar 2005) or to simply add the 3 Rock Ridge patches. For 11.11, use:

PHCO_25841 PHKL_26269 PHKL_32035

Then mount your CD with the new option -orr (found in the mount_cdfs man page) which gives you the full RockRidge standard (aka, POSIX or ECMA 168) filenames.


Bill Hassell, sysadmin
Bill Hassell
Honored Contributor

Re: mounting a CD on HP-UX that was burned on windows

By the way, your WixXP machine may be defaulting to Joliet format for the output CD which cannot be read on HP-UX. Joliet is almost always reservered for PC interchange. That's why Nero and CD-Creator ask you about whether you want to interchange your CD with other computers (not necessarily Windowz).


Bill Hassell, sysadmin
jerry1
Super Advisor

Re: mounting a CD on HP-UX that was burned on windows

We use nero. There are options to preserve
long files names under properties.
To get the name in upper case on a Sun UNIX
box use:

On Sun.
mount -F hsfs -o ro,nomaplcase
/vol/dev/dsk/c0t6d0/my_disc /cdrom/my_disc

On HP.
?
Raj D.
Honored Contributor

Re: mounting a CD on HP-UX that was burned on windows

Hi Chuck ,

You can try mounting with pfs_mount command.
You need pfsd and pfs_mountd daemon must be running or need to run for that.

try:
# pfs_mount -t rrip /dev/device /cdrom


Cheers ,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Sid Young
New Member

Re: mounting a CD on HP-UX that was burned on windows


Possible solution to mounting issues.

I needed to mount a UNIFY database cd into my rp4440 but the cd encoding was generating a 8.3ish format. So I mounted the CD on a Linux box, used samba to share the mount point and used samba on the rp4440 to share the destination folder and just copied the files across that way. You could also FTP them between boxes.

RH Linux understands all CD formats, so it is ideal.

Sid