% su -
Password:
#
Note: If the distribution directory is on a different system, become the superuser on that system also.
Look for a line like this in the output of hinv and note numbers that appear in parentheses beside the scsi and cdrom entries:
SCSI CDROM: scsi (0) cdrom (4)
You can omit the argument from this command if there is only one CD-ROM drive on the workstation:
# eject /dev/scsi/sccntlrdunitl0
Note: This command has a lowercase l and a zero at the end of it.
# mkdir distdir
Enter this command on the system with the CD-ROM drive to stop the mediad daemon (see the mediad1M) reference page):
# mediad -k
# mkdir /CDROM
On the system containing the distribution directory, enter the cp command to copy the installable software from the CD to the distribution directory. The following sample commands illustrate how to copy all distribution software to the directory, creating the necessary subdirectories simultaneously. Use the first command if the CD-ROM is local and the second command if the CD-ROM is remote:
# cp -r /CDROM/dist/. distdir
# rcp -r guest@server:/CDROM/dist/. distdir
You can create a software distribution directory that contains fewer products than are in the CD-ROM distribution by copying the files for just the products that you want. Remember that distribution directories and CD-ROM distributions have an identical structure. For example, to copy just one product from a local CD-ROM drive, use this command:
% cp /CDROM/dist/product* distdir/product
Enter this command to create a directory for the release notes and copy them to the installation server:
# cp -r /CDROM/relnotes/* relnotes_dir
Enter this command on the system with the CD-ROM drive. You can omit the argument if there is just one CD-ROM drive on the system:
# eject /dev/scsi/sccntlrdunitl0
If you stopped mediad in step 5, restart it by entering this command on the system with the CD-ROM drive:
# mediad
Note: If you have more than one CD-ROM drive, you might get an error from this command, but you can safely ignore it.