cancel
Showing results for 
Search instead for 
Did you mean: 

CD mount issue in HP-UX

 
Highlighted
Frequent Advisor

CD mount issue in HP-UX

Hi,

We have downloaded the software & write DVD on Windows XP machine. But while mounting the CD on HP_UX server it shows junk/corrupted file names & ^m charaters appearing in files.
CD mount perfectly OK on linux machine.

Can some one tell steps to mount such CDs , also is there any spscific format/CD writing software we have to use while writing the CD.

Thanks in advance.

Varian
28 REPLIES 28
Highlighted
Honored Contributor

Re: CD mount issue in HP-UX

Hi Varian,

Could you post your HPUX version?

Regards,
Robert-Jan
Highlighted
Respected Contributor

Re: CD mount issue in HP-UX

M is a character will be inserted when moving dos file to unix system. To remove this you need to run the following command

# dos2ux filename
All things excellent are as difficult as they are rare
Highlighted
Honored Contributor

Re: CD mount issue in HP-UX

Hello, Walter

When you create the DVD, select on your writing software ISO9660+ Joliet extensions the DVD file system. And the character set must be also ISO9660.

Most writing software offers also the posibility to allow more than 255 characters in path, which can be usefull.

Best regards,
Horia.
Best regards from Romania,
Horia.
Highlighted
Frequent Advisor

Re: CD mount issue in HP-UX

Hi ,

Thanks for your replies, Currently I do not have a exact version of the HP-UX OS.

I copied the CD thru Roxio software which does not give me option of file system you have mentioned. Please find attached screen shot for the available file system options.

It seems our team has already tried option of dostounix command but that does not help.

Highlighted
Honored Contributor

Re: CD mount issue in HP-UX

Hi Varian,

If can login the HPUX server could you give me the output of the uname -a command? Some HPUX versions need to be patched.

Try

# mount -r -F cdfs /dev/dsk/c1t2d0 /cdrom

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1264075048811+28353475&threadId=1258190

Regards,
Robert-Jan
Highlighted
Honored Contributor

Re: CD mount issue in HP-UX

If the filenames are all UPPERCASE in 8.3 format with a ; (ie, ABCDEFGH.XYZ;1), this is perfectly normal. You are seeing the standard ISO 9660 filename format. Note: Joliet (if you can find it in the myriad of hidden options in Roxio) will render the CD unreadable on HP-UX.

The correct mount option is -orr which stands for RockRidge format. Now the filenames will be the original case (lowerUPPER) and the ;1 will be stripped. NOTE: If the -orr option is not shown in the man page for mount_cdfs, then the HP-UX version is too old (long, long out of support) or it has not been patched.

As mentioned, the ^M characters are part of the file. That's because you have copied PC files to the CD and the end of line flag on a PC is CR+LF while in Unix it is just LF. The carriage return is CTRL-M on the keyboard so ^M shows up in vi and other display tools.

You'll have to use dos2ux to translate the files.


Bill Hassell, sysadmin
Highlighted
Frequent Advisor

Re: CD mount issue in HP-UX

Hi Bill,

Thanks for the update,
We tried -orr option, but still it mounts in 8.3 format.
We are planing to mount the cd on either windows or linux system & then ftp it to hp-ux. (let me know is there any better way)

Also wanted to know is there any easy method to remove control charaters from files. The dos2ux command removes both required & not required control charaters.
Also the installable size is around 14GB, so wanted to to know is there any automated script which I can apply to remove control characters.

Thanks a lot for all help.
Varian
Highlighted
Acclaimed Contributor

Re: CD mount issue in HP-UX

With HP-UX 11.31 you can mount ISO files directly.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Honored Contributor

Re: CD mount issue in HP-UX

Since you are mounting it on a Linux system, you can use ftp to filter the ^M characters for you. ftp is a multi-OS program that knows the local file formats. When you transfer ASCII files, use the ASCII command in ftp to read the CD in native format. Then ftp will transfer the file in a format-neutral method so it will be stored on the HP-UX system in the correct manner.

There are several drag-n-drop ftp programs for Linux including the FireFTP plugin for Firefox. These programs will handle multiple levels of directories.

> installable size is around 14 GB

Is this just a collection of ASCII files or is it an application with executables and other binary files? HP-UX is not a PC so Windows/PC programs are useless on the HP-UX system.


Bill Hassell, sysadmin