Mounting the CD-ROM (HP-UX)

Root authority is required to perform this task.

To mount CD-ROM:

  1. Log in as root
  2. If necessary, create a new directory as the mount point for the CD-ROM drive. Directory /cdrom is already present in the filesystem
  3. If necessary, identify the drive device file using the ioscan -fnC disk command. This command lists all recognized CD-ROM drives and their associated device files. The filename will be something similar to  /dev/dsk/c1t0d0.
    		# ioscan -fnC disk
    Class     I  H/W Path     Driver S/W State   H/W Type     Description
    =====================================================================
    disk      0  0/0/0/2/0/0/0.8.0              sdisk   CLAIMED     DEVICE       HP      EG0300FAWHV
                             /dev/dsk/c0t8d0   /dev/rdsk/c0t8d0
    disk      1  0/0/0/2/0/0/0.8.1              sdisk   CLAIMED     DEVICE       HP      EG0300FAWHV
                             /dev/dsk/c0t8d1     /dev/dsk/c0t8d1s2   /dev/rdsk/c0t8d1    /dev/rdsk/c0t8d1s2
                             /dev/dsk/c0t8d1s1   /dev/dsk/c0t8d1s3   /dev/rdsk/c0t8d1s1  /dev/rdsk/c0t8d1s3
    disk      7  0/0/0/5/0/0/0.100.73.0.0.0.0   sdisk   CLAIMED     DEVICE       IBM     2145
                             /dev/dsk/c5t0d0   /dev/rdsk/c5t0d0
    disk      6  0/0/0/5/0/0/0.100.104.0.0.0.0  sdisk   CLAIMED     DEVICE       IBM     2145
                             /dev/dsk/c3t0d0   /dev/rdsk/c3t0d0
    disk      4  255/1/0.0.0  sdisk   CLAIMED     DEVICE       hp DVD  DE8A4L
                             /dev/dsk/c1t0d0   /dev/rdsk/c1t0d0
    		
  4. Mount the CD drive to the mount-point directory:
     mount -F cdfs -o rr /dev/dsk/c1t2d0 /cdrom 
  5. Verify the mount using the ls /cdrom command.