This appendix contains the following topics:
A description of the CD-ROMs that are shipped with each release of the operating system (Section B.1)
How to determine a CD-ROM device name (Section B.2)
How to mount a CD-ROM (Section B.3)
How to unmount a CD-ROM (Section B.4)
The operating system software is distributed on four read-only compact discs (CD-ROM):
The CD-ROM labeled Operating System, Volume 1 contains the base operating system software subsets. The software subsets contained on this CD-ROM are described in Section C.1.
The CD-ROM labeled Associated Products, Volume 1 contains the Worldwide Language Support (WLS) software and other layered products that are compatible with the operating system. WLS software subsets are described in Section C.4.1. Generic instructions for installing layered products are provided in Appendix D.
The CD-ROM labeled Associated Products, Volume 2 contains additional layered products.
The CD-ROM labeled Documentation, Volume 1 contains the documentation set in HTML and PDF formats. Chapter 8 describes how to mount this CD-ROM to view the documentation set.
There are two types of
device names
that identify a CD-ROM drive.
The first name is the regular
device special file
name, which
is used to specify the CD-ROM drive when the system is in single-user or multiuser
mode.
The second name is the console device name, which is used when the system
is in the
console mode.
B.2.1 Determining the CD-ROM Device Name
Enter the following command to determine the device name of a CD-ROM drive:
$ ls /dev/disk/cdrom*c /dev/disk/cdrom0c
Use this CD-ROM
device name to boot from the CD-ROM drive when the system is in single-user
mode, for instance, when starting an Update Installation of the operating
system.
B.2.2 Determining the CD-ROM Console Device Name
To determine the CD-ROM console device name, the system must be shut down to the console mode as shown in the following example:
As superuser or root, shut down the system to console mode:
# shutdown -h now
Display the table of device names:
>>> show device
Depending upon your system type, a device information table similar to the following is displayed:
dka0.0.0.0.0 DKA0 RZ28 dkb0.0.0.1.0 DKB0 RZ28 dkc0.0.0.2.0 DKC0 RZ26 dkc100.1.0.2.0 DKC100 RZ26 dkc200.2.0.2.0 DKC200 RZ26 dkc300.3.0.2.0 DKC300 RZ26 dke100.1.0.4.0 DKE100 RRD43 <= mka500.0.0.0.0 MKA500 TLZ04 mke0.0.0.4.0 MKE0 TZ85 ewa0.0.0.6.0 EWA0 08-00-2B-2C-CE-DE
In the third column to the right, look for the line with the characters
RRD
or
CD-ROM
.
These characters denote a CD-ROM
device.
The second column in the table shows the console device name assigned
to each device on your system.
In this example, the RRD43 CD-ROM is assigned to console device name DKE100.
Use the console device name to boot from the CD-ROM drive when the operating
system is not running and the system is in
console mode.
B.3 Mounting a CD-ROM
Before you can access the files and directories on a CD-ROM, it must be mounted on a mount point. Follow these steps to mount a CD-ROM:
Log in as
root
or become superuser.
Enter the following command to find the CD-ROM device name if necessary:
# ls /dev/disk/cdrom*c /dev/disk/cdrom0c
Use the
mkdir
command to make a directory
to be the mount point for the CD-ROM.
Then mount the CD-ROM using the
mount
command with the following syntax, substituting the unit number
of your CD-ROM drive for the
unit_number.
mount
/dev/disk/cdrom<unit_number>c /mount-point
For example, to mount the CD-ROM in drive
/dev/disk/cdrom0c
on the directory
/cdrom
, enter the following
commands:
# mkdir /cdrom # mount -r /dev/disk/cdrom0c /cdrom
To ensure that the CD-ROM is remounted in the event that your
system crashes or is rebooted, add the following line to the
/etc/fstab
file:
/dev/disk/cdrom0c /cdrom ufs ro 0 0
The system will mount the CD-ROM on the
/cdrom
mount point on every system
reboot.
You must
unmount
a CD-ROM from its mount point by using the
umount
command before you can eject it from the disc drive.
To unmount a CD-ROM,
you must be
superuser
or
root
and you must be at least one directory above the
mount point
of the CD-ROM.
Use commands
similar to the following to unmount a CD-ROM:
# cd / # umount /cdrom
If you do not
unmount
the CD-ROM
before trying to remove it, the CD-ROM will not eject from the drive when
you press the EJECT button.
If you are in the directory of the
mount point
of the CD-ROM when you execute the
umount
command, you will see the message
device busy
.
To remove the disc from the disc drive after it is unmounted, press the EJECT button on the disc drive.
If the EJECT button is disabled by software or if the drive does not eject the caddy after you press the EJECT button, see your Optical Disc Drive Owner's Manual for instructions.