Mounting a CD-ROM on the UNIX platform



General

The commands that users should type are boldfaced. The instructions to use depend on the operating system you are using. Use the following command to determine it:

  • % uname -a



IRIX

  • Log in as root:
    % su root

  • Start the media demon, mediad , if you have it and have not started it:
    # mediad

  • Load the CHEPī97 CD-ROM into the caddy, then insert the caddy into the drive.

  • If you are running mediad, then your CD-ROM is mounted in the directory /CDROM and you can access it. If you are not running mediad, then mount the CDROM manually by typing:

    • # mount -t  iso9660  /dev/scsi/sc0d<n>l0  /CDROM
      where <n> is the SCSI channel id number for the CD-ROM drive and you type the lowercase letter l and not the number 1 in the device name. For example, if the SCSI channel id number is 4 for the CD-ROM, type sc0d4l0.

non-IRIX Systems

  • Load the CHEPī97 CD-ROM into the caddy and insert in the drive before continuing. If you have a Solaris operating system with the Volume Manager, you do not need to mount the CD-ROM.

Mounting the CD-ROM for non-Solaris systems and Solaris Systems without the Volume Manager:

  • Log in as root:
    % su root

  • If you do not have a cdrom directory, create it.
    # mkdir /cdrom

  • Choose the instructions for your operating system.

    • Solaris without the Volume Manager
      # /etc/mount -r -F hsfs  /dev/sr0  /cdrom

    • SunOS4
      # /etc/mount -r -t hsfs  /dev/sr0  /cdrom

    • HP-UX
      # /etc/mount  /cdrom

    • Note: for HP-UX, if your system is not configured to mount the CD-ROM at /cdrom, type:
      # /etc/mount -r -t cdfs  <cdrom-device-name>  /cdrom

Looking at the CD-ROM for all operating systems:

  • #ls -R /cdrom