Appendix B. Mounting a CD-ROM

Table of Contents

B.1. AIX
B.2. HP
B.3. Linux
B.4. Solaris

This appendix describes how to mount a CD-ROM for each platform.

B.1. AIX

The method for mounting a CD-ROM in AIX follows:

  1. Login with a root account.

  2. Create a mount point to which a CD-ROM drive will be mounted.

    # mkdir /cdrom
  3. Run the mount command.

    mount <option>
          <device_name><mount_point>

B.2. HP

The method for mounting a CD-ROM in HP-UX follows:

  1. Login with a root account.

  2. Determine the CD to be mounted.

    # ioscan -fun -C disk
  3. If there is no CD-ROM in the /etc/pfs_fstab directory, mount a new CD-ROM.

  4. Mount a new CD-ROM.

    # nohup /usr/sbin/pfs_mountd
             & # nohup /usr/sbin/pfsd &
  5. Insert a CD.

    # /usr/sbin/pfs_mount /SD_CDROM
  6. Eject a CD.

    # /usr/sbin/pfs_umount /SD_CDROM
  7. Insert another CD.

    # /usr/sbin/pfs_mount /SD_CDROM

B.3. Linux

The method for mounting a CD-ROM in Linux follows:

  1. Check whether automounting is working.

    $ ps -aux | grep automount
  2. Switch to a root account using the root account password.

    $ su -
    Password : *****
  3. Run the mount command.

    # mount <option>
            <device_name><mount_point>
  4. Run the unmount command.

    # umount <mount_point>

B.4. Solaris

The method for mounting a CD-ROM in Solaris follows:

  1. Check the volume manager to verify whether a CD is recognized automatically.

    $ ps -e | grep vold
  2. If a CD exists, eject the CD.

    $ eject
  3. Inset a CD and mount with the following command.

    # mkdir <mount_point> #
            mount <options> <device_name>
            <mount_point>