How To Eject A Compact Disc With Software Commands - Sun Microsystems Enterprise 250 Owner's Manual

Hide thumbs Also See for Enterprise 250:
Table of Contents

Advertisement

How to Eject a Compact Disc With
Software Commands
Before You Begin
If the server is set up without a local console, you need to set up a console on it in
order to issue software commands; see:
"About Setting Up a Console" on page 19
What to Do
1. Kill processes accessing the CD-ROM drive, if necessary.
The disc will not eject while the drive is in use. To kill any processes accessing the
CD-ROM drive, become superuser and type the following:
% su
Password:
# fuser -k /cdrom/cdrom0
Note – You should warn users before abruptly halting processes. The command
fuser -u /cdrom/cdrom0 helps you identify who's accessing the CD-ROM drive.
Refer to the Solaris 2.x System Administrator's Guide for more information about the
fuser command.
2. From the console device, enter:
% eject cdrom0
The CD-ROM disc should eject.
Chapter 10
Using Storage Devices
203

Advertisement

Table of Contents
loading

Table of Contents