When I was using Ubuntu 10.04 I used the command eject -i 1
to prevent the CD drawer being opened when the button was pressed. Now I have upgraded to Ubuntu 11.10 this command no longer works. It gives the same output as it did under 10.04:
colin@ubuntu-11-10:~$ eject -i 1
CD-Drive may NOT be ejected with device button
but the CD drawer opens anyway when you press the button.
Is there a way I can fix this command or another way to stop the drawer opening?