154 Sun Fire V890 Server Owner’s Guide • September 2004
How to Eject a CDor DVD WithSoftware
Commands
Before You Begin
If the server is set up without a system console, you need to set up one in order to
issue software commands; see:
■ “About Setting Up a Console” on page 30
What to Do
1. From the system console device, change directories to a directory that is not in the
/cdrom hierarchy.
2. Type the following command to eject the CD or DVD:
The disc should eject.
3. If the disc does not eject, kill any processes accessing the DVD-ROM drive and
repeat Step 2.
The disc will not eject while the drive is in use. To kill any processes accessing the
DVD-ROM drive, become superuser and type the following:
Note – You should warn users before abruptly halting processes. The command
fuser -u /cdrom/cdrom0 helps identify who is accessing the DVD-ROM drive.
Refer to the Solaris System Administrator’s Guide for more information about the
fuser command.
% eject cdrom
% su
Password:
# fuser -k /cdrom/cdrom0