Mount CD-ROM / DVD in HP-UX Unix

last updated in Categories

How do I mount CD or DVD on HP-UX Unix operating systems?

To mount CD or DVD under HP-UX operating systems, type the following command as the root user. First, insert the CD or DVD in the sever drive. You may need to create a new directory as the mount point for the CD or DVD drive using the mkdir command:
# mkdir /mnt/cdrom
Use the following command to identify and show all the disk device driver including CD/DVD on the system, enter:
# ioscan -fnC disk
To mount the CD or DVD drive to the mount-point directory called /mnt/cddrom, enter:
mount -F cdfs -o rr /dev/dsk/c1t2d0 /cdrom
Verify the mount using the following commands

mount
df
ls /mnt/cdrom

To unmount CD or DVD, enter:
# umount /mnt/cdrom

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.