Public bug reported: eject has to be issued twice, as it will fail the first time, succeeding the second time.
$ sudo eject /dev/sr0 eject: unable to eject, last error: Inappropriate ioctl for device $ sudo eject /dev/sr0 It should simply eject. I don't know what the first eject does different to the second. Nothing in the syslog. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: eject 2.1.5+deb1+cvs20081104-9 ProcVersionSignature: Ubuntu 3.11.0-26.45~precise1-generic 3.11.10.12 Uname: Linux 3.11.0-26-generic i686 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu17.8 Architecture: i386 Date: Wed Jan 21 16:46:45 2015 MarkForUpload: True ProcEnviron: LANGUAGE=en_GB:en TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: eject UpgradeStatus: Upgraded to precise on 2014-12-07 (45 days ago) ** Affects: eject (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1413332 Title: eject command has to be issued twice To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eject/+bug/1413332/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs