Sun Microsystems 220R Server User Manual


 
104 Sun Enterprise 220R Server Owner’s Guide October 1999
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 Communicating With the Server” on page 28
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:
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 System Administrator’s Guide for more information about the
fuser command.
2. From the console device, type:
The CD-ROM disc should eject.
% su
Password:
# fuser -k /cdrom/cdrom0
% eject cdrom0