{"id":241,"date":"2011-08-13T17:36:56","date_gmt":"2011-08-13T23:36:56","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=241"},"modified":"2012-10-14T17:00:17","modified_gmt":"2012-10-14T22:00:17","slug":"linux-cd-dvd-locked-and-drive-is-not-opening-ejecting-cd","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=241","title":{"rendered":"Linux CD \/ DVD Locked and Drive Is Not Opening \/ Ejecting CD"},"content":{"rendered":"<blockquote><p>You might also try disallowing the kernel from locking the cdrom. Sometimes a rogue process will hold onto the drive for no real reason. This way is often much cleaner than killing the process.<\/p>\n<p># Temporarily unlock the cdrom<br \/>\n<strong>echo 0 &gt; \/proc\/sys\/dev\/cdrom\/lock<\/strong><\/p>\n<p># Permanently unlock the cdrom<br \/>\n<strong>echo \u201csys.dev.cdrom.lock=0\u2033 &gt;&gt; \/etc\/sysctl.conf<\/strong><\/p><\/blockquote>\n<p>via <a href=\"http:\/\/www.cyberciti.biz\/faq\/linux-cd-dvd-locked-drive-not-opening\/\">Linux CD \/ DVD Locked and Drive Is Not Opening \/ Ejecting CD<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You might also try disallowing the kernel from locking the cdrom. Sometimes a rogue process will hold onto the drive for no real reason. This way is often much cleaner than killing the process. # Temporarily unlock the cdrom echo &hellip; <a href=\"http:\/\/bucktownbell.com\/?p=241\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[28],"class_list":["post-241","post","type-post","status-publish","format-standard","hentry","category-pc-issues","tag-linux-command"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=241"}],"version-history":[{"count":7,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/241\/revisions"}],"predecessor-version":[{"id":7162,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/241\/revisions\/7162"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}