« 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 »
May 24th, 2023 at 16:27
The pretty part of the content. I just came across your website and subscription capital and claimed that I actually enjoyed your blog post. Anyway, I’ll subscribe to your feed, and I’ll make sure you continue to have quick access. 먹튀검증
May 24th, 2023 at 16:29
What a great weblog! Also, your website goes up very fast! What web host do you use? Can I get your relevant link from your host? I hope my site will be loaded as soon as soon as possible. 메이저놀이터
May 24th, 2023 at 16:31
Hello! Can I share your blog with my Twitter group? There are a lot of people who would really appreciate your content. Get back to me. Thank you. Look at my web blog 메이저토토사이트
May 24th, 2023 at 16:31
I just want to thank you again for the amazing web page you’ve developed here. Full of ideas for this kind of topic, especially for those interested in this very post. You guys are so kind and considerate of others and reading your website posts is a fantastic pleasure to my experience. 메이저사이트