Quick tip: Eject and Insert CD / DVD media under Linux
Eject command allows removable media (typically a CD-ROM, floppy disk, tape, or JAZ or ZIP disk) to be ejected under software control. The command can also control some multi-disc CD-ROM changers, the auto-eject feature supported by some devices, and close the disc tray of some CD-ROM drives.
Eject using device name (DVD/CD)
eject /dev/dvd
eject cdrom
eject /mnt/dvd
Close tray:
eject -t /dev/dvd
Eject first SCSI device:
eject sda
Select CD slot
The command can also control some multi-disc CD-ROM changers (note that the first slot of the changer is referred to as 0, not 1):
eject -c 1 /dev/cdrom
E-mail this to a Friend
Printable Version
You may also be interested in other helpful articles:
- Solaris > Safely remove / unmount the floppy disk or cdrom
- Solaris > Access the CDROM/DVD (mount CDROM/DVD media)
- Solaris > Access the zip / jaz drive (mount zip disk)
- Solaris > Access the floppy disk (mount floppy disk)
- Linux: Burn multi session CDs on Linux
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: cd eject, cd rom drives, disc tray, jaz, removable media, scsi device, software control



Recent Comments
Today ~ 20 Comments
Today ~ 1 Comment
Today ~ 10 Comments
Today ~ 7 Comments
Today ~ 11 Comments