1836617 Members
3378 Online
110102 Solutions
New Discussion

Re: file name issue

 
SOLVED
Go to solution
arun m govind
Frequent Advisor

file name issue

hi,

In my hp-ux 11.11 system after mounting a cdrom all the file names are ended with ";1"
example: for file "JAVA" it showing "JAVA;1".
why this happen ????/

Regards
Arun
8 REPLIES 8
Peter Godron
Honored Contributor

Re: file name issue

Arun,
CD Format issue:

Please see (for example):
http://www.faqs.org/faqs/hp/hpux-faq/section-87.html

sajeer_2
Regular Advisor

Re: file name issue

Hi Arun,

Try pfs mount as follows

#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &

#/usr/sbin/psf_mount -t rrip -x unix /dev/dsk/c1t2d0 /cdrom

or

pfs_mount pfs_mount -o xlat=unix /dev/dsk/c0t0d0 /cdrom
Steven E. Protter
Exalted Contributor
Solution

Re: file name issue

Shalom Arun,

I strongly recommend against pfs_mount

Try this instead:

/usr/sbin/mount -F cdfs -e -o ro,rr /dev/dsk/c3t2d0 /cdrom


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: file name issue

Hi Arun,

Check this out : http://hpux.ws/merijn/faq.html

#
My CD-ROM doesn't show what I expect

It can be an Oracle CD-ROM, or a CD created on Windows, or whereever they used Rock Ridge extensions. Long names are truncated or show upper case only. Oracle tells you to use pfs_mount.

Do not use pfs_mount!. Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.00 you will need forget all about PFS and install PHKL_26448 (now superceded by PHKL_28060), PHCO_26449, and PHKL_26450 to have HP-UX recognize those file systems automatically on mount! For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760 (now superceded by PHKL_32035).

No need thereafter to use -o cdfs to mount anymore, provided you enter the CD drive in /etc/fstab like this:

/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0

"A ship in the harbor is safe, but that is not what ships are built for"
arun m govind
Frequent Advisor

Re: file name issue

hi,

my problem is solved with

"mount -F cdfs -o cdcase /dev/dsk/c0t0d0 /cdrom".

Thanks and Regards
Arun M Govind
Bill Hassell
Honored Contributor

Re: file name issue

Just to amplify the solution -- the option -ocdcase is an old workaround that will cause many problems for MiXeD case filenames. It simply lowers everything and strips ;1 from the name. It will NOT handle long filenames but just takes the ISO 9660 name format (8.3) andmakes thye names lowercase. It is imperative that you have the patches for RockRidge installed and then use -orr for mounting all non-HP-UX CDs.


Bill Hassell, sysadmin
Peter Godron
Honored Contributor

Re: file name issue

Arun,
can you please reward good answers and close the thread.
arun m govind
Frequent Advisor

Re: file name issue

hi,

thanks everybody for the answers.previously i was not aware how to put points on each answers.
regret for the inconvience .

thanks
arun m govind