Mount CD-ROM / DVD in HP-UX Unix

Mount CD-ROM / DVD in HP-UX Unix

To mount a CD-ROM or DVD on an HP-UX system, you will need to follow these steps:

  1. Insert the CD-ROM or DVD into the CD-ROM or DVD drive.

  2. Determine the device name of the CD-ROM or DVD drive. Run the ioscan command to list the devices on your system. Look for the device name of the CD-ROM or DVD drive. It will typically be in the form /dev/cdrom or /dev/dvd.

  3. Create a mount point for the CD-ROM or DVD. A mount point is a directory where the CD-ROM or DVD will be mounted. Create a directory for the mount point using the mkdir command. For example:

refer to:‮al‬utturi.com
mkdir /mnt/cdrom
  1. Mount the CD-ROM or DVD. Use the mount command to mount the CD-ROM or DVD on the mount point you created. For example:
mount -F cdfs /dev/cdrom /mnt/cdrom

Replace /dev/cdrom with the actual device name of your CD-ROM or DVD drive.

The CD-ROM or DVD will now be mounted on the /mnt/cdrom mount point. You can access the files on the CD-ROM or DVD by navigating to this directory.

  1. Unmount the CD-ROM or DVD when you are finished. When you are finished accessing the files on the CD-ROM or DVD, you should unmount it to prevent data loss. Use the umount command to unmount the CD-ROM or DVD:
umount /mnt/cdrom

Keep in mind that you will need to have the appropriate permissions to use the mount and umount commands. Typically, only the root user or users with sudo privileges can mount and unmount devices.

Created Time:2017-10-30 10:17:50  Author:lautturi