Compdigitec Labs

« | Home | »

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 | 9 Comments »

9 Responses to “How to force a CD/DVD drive to eject in Linux”

  1. Firearms For Sale Says:
    February 5th, 2022 at 19:45

    … [Trackback]

    […] Info to that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  2. สล็อตวอเลท ไม่มีขั้นต่ำ Says:
    April 20th, 2022 at 10:45

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  3. 홀덤사이트 Says:
    April 27th, 2022 at 18:32

    … [Trackback]

    […] There you will find 56560 more Info to that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  4. ล่องเรือเจ้าพระยา Says:
    May 1st, 2022 at 19:52

    … [Trackback]

    […] Find More to that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  5. TVS Jardin Says:
    June 24th, 2022 at 10:12

    … [Trackback]

    […] Read More here on that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  6. แทงบอลโลก Says:
    August 24th, 2022 at 04:13

    … [Trackback]

    […] There you can find 18031 additional Information to that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  7. สล็อต pg เว็บตรง Says:
    August 28th, 2022 at 08:41

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  8. sig sauer m400 tread ar-15 snake bite special edition Says:
    August 29th, 2022 at 06:06

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

  9. maxbet Says:
    September 16th, 2022 at 10:47

    … [Trackback]

    […] Here you can find 95930 additional Info on that Topic: compdigitec.com/labs/2010/03/20/how-to-force-a-cddvd-drive-to-eject-in-linux/ […]

Comments