« Paint.NET on Ubuntu Linux 9.10 | Home | How to enable symlink following in Samba »
How to force a CD/DVD drive to eject in Linux
By admin | March 20, 2010
Usually, the CD drive in Linux is pretty permissive just like in Windows, where one can eject and insert discs at any time. However, sometimes some random bugs in various application show up when you eject a disk while reading, and the operating system no longer honours any requests to eject (e.g. pressing the eject button the physical drive) because the application is still waiting for the request to complete.
Normally, pressing the eject icon next to the drive in Nautilus would work and usually this command too:
eject
However, even that sometimes doesn’t work properly. Therefore, we need to use cdrecord to forcibly eject:
cdrecord -eject
This usually will cause the CD tray to eject. However it is recommended that you eject normally by using the eject command as forced ejects could create problems with programs.
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more interesting articles!
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Linux | 4 Comments »
November 17th, 2024 at 22:27
… [Trackback]
[…] Find More to that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]
December 15th, 2024 at 07:09
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]
December 17th, 2024 at 16:50
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]
December 18th, 2024 at 22:44
… [Trackback]
[…] Information on that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]