Operating System - HP-UX
1819542 Members
2319 Online
109603 Solutions
New Discussion юеВ

Re: how to mount cdrom in hpux

 
SOLVED
Go to solution
apple
Super Advisor

how to mount cdrom in hpux

dear HPUX gurus,
how to mount the cdrom in HPUX.
i was told i need to find the cdrom device file and mount it to /cdrom.
but where can i find the cdrom device file?
hope to hear from you. promise of good points.
many thanks in advance.
7 REPLIES 7
Sajjad Sahir
Honored Contributor
Solution

Re: how to mount cdrom in hpux

Dear Almond
make a directory /cdrom
inorder to know the disk
just type ioscan -funC disk

/dev/dsk/c1t2d0 DVD-ROM 305

mount /dev/dsk/c1t2d0 /cdrom
Jeeshan
Honored Contributor

Re: how to mount cdrom in hpux

Hi

try this

insf -e
to recreate the files

ioscan -fnC disk |grep -v cdrom

should give you the device file for the cdrom drive.

mount -F cdfs /dev/dsk/cxtydz /cdrom

to verify
ls -l /cdrom
a warrior never quits
Torsten.
Acclaimed Contributor

Re: how to mount cdrom in hpux

It may be easier to suggest something useful if you provide more information:

# model
# uname -r
# ioscan -fn


Sometimes you may have "unusual" device files, e.g. on a 11.31 system with built-in USB drives.

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!   
Sajjad Sahir
Honored Contributor

Re: how to mount cdrom in hpux

I told u almond u can find it easily
by typing ioscan -funC disk
data1#ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/1/0/0/1/1.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
disk 3 255/255/0/0.0 sdisk CLAIMED DEVICE HSV100 HP
/dev/dsk/c14t0d0 /dev/rdsk/c14t0d0
disk 4 255/255/0/0.1 sdisk CLAIMED DEVICE HSV100 HP
/dev/dsk/c14t0d1 /dev/rdsk/c14t0d1
disk 5 255/255/0/0.2 sdisk CLAIMED DEVICE HSV100 HP
/dev/dsk/c14t0d2 /dev/rdsk/c14t0d2

u can see dvd rom enrty there
mount same way
what i tol u before
if u want to go cd rom then
go /cdrom directoy
apple
Super Advisor

Re: how to mount cdrom in hpux

thanks a lot. :) hv a nice day
Steven Schweda
Honored Contributor

Re: how to mount cdrom in hpux

A forum search for, say,
mount cd-rom hp-ux
didn't help you?
Dennis Handly
Acclaimed Contributor

Re: how to mount cdrom in hpux

You can also have SAM find and mount it for you. One thing you can do for CDs is to have it make an entry in /etc/fstab but with the "noauto" option. That way you can mount it with "mount /cdrom" and not have to specify all of the other options.