1847996 Members
6848 Online
104022 Solutions
New Discussion

mount a CD

 
Bawitdaba
Frequent Advisor

mount a CD

Hi everyone!
i'm trying to mount an Invensys CDRom. I already used:
#mount -F cdfs /dev/dsk/cXtXdX /cdrom
#mount -o cdcase /dev/dsk/cXtXdX /cdrom
#pfs_mount -o xlat=unix /dev/rdsk/cXtXdX /cdrom

And none of them woks fine since i can't read the CD content properly.
anyone can help me?
thanks
merce
7 REPLIES 7
Niraj Kumar Verma
Trusted Contributor

Re: mount a CD

Hi,

first unmount your CDROM
Then try the following

# mount /dev/dsk/cXtXdX /cdrom


Regards
-Niraj
Niraj.Verma@philips.com
Ravi_8
Honored Contributor

Re: mount a CD

Hi Merce

Do the normal mounting of the CD
#mount /dev/dsk/cxtxd0 /cdrom

If you are able to see the contents of CD, then the media is ok otherwise you need to change the media.

If the contents of the Media is not as normal, then it needs pfs mount

#vi /etc/pfs_fstab
make an entry
/dev/dsk/cxtxd0 /cdrom pfs-iso9660 xlat=unix 0 0
save and close the file.
#pfs_mountd&
#pfsd&
#pfs_mount /cdrom

now you should be able to read media, if you get the error saying that the media is not iso format, then replace iso9660 with rrip in /etc/pfs_fstab file.
never give up
Bill Hassell
Honored Contributor

Re: mount a CD

Is this a PC CDROM? If so, it may be in Joliet format which is unreadable on HP-UX. If the CD is in RockRidge format, PFS should work OK as long as PFS was started correctly. Are the filenames in all UPPERCASE with ;1 version numbers? How does the CD fail?


Bill Hassell, sysadmin
Bawitdaba
Frequent Advisor

Re: mount a CD

hi!
well, the CD is supposed to be readable in HPUX. The problem is lots of strange charanters...
I'll do some tests and i'll tell you all
thanks
merce
Khalid A. Al-Tayaran
Valued Contributor

Re: mount a CD


Hi,

Use both options so you don't see all uppercase letters:
#mount -F cdfs -o cdcase /dev/dsk/cXtXyX /cdrom

Bye...
T G Manikandan
Honored Contributor
Khalid A. Al-Tayaran
Valued Contributor

Re: mount a CD


Hi,

I forgot to mention, you can save the line
mount -F cdfs -o cdcase /dev/dsk/cXtXyX /cdrom

to /usr/bin/mount_cd

and give it execute permissions instead of typeing every time you mount a another CD.