On my Mac Quicksilver eject -T opens cd tray but fails to close it. This bug is also described on both ubuntu and openSUSE bugzilla. From description it appears it also affects x86 based systems. Reproducible: Always Steps to Reproduce: 1. eject -T cdrom, CD tray opens 2. eject -T cdrom Actual Results: Nothing happens. CD tray remains closed. Expected Results: CD tray should eb closed. Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/eject/+bug/91873 openSUSE bug repport: https://bugzilla.novell.com/show_bug.cgi?id=374526
Created attachment 184474 [details, diff] openSUSE eject -T fix This patch taken from openSUES bugzilla seems like a proper way to fix this bug. I've tested it on my mac and it solves the problem.
Do you know if this patch was already sent to the upstream maintainer of the eject package? Reassigning to base-system herd.
(In reply to comment #2) > Do you know if this patch was already sent to the upstream maintainer of the > eject package? No, as far as I know this patch has not been sent uostream to eject maintainer. The last upstream change to eject also addresed a problem with -T option but it only fixed the problem on some systems.
I also wonder if anybody tried the -t switch instead of -T with the unpatched version of eject...
I've tried it and it works. Only -T is broken.
added 2.1.5-r2 with a cleaned up version of the patch http://sources.gentoo.org/sys-apps/eject/files/eject-2.1.5-toggle.patch?rev=1.1