Comment 1 for bug 91599

Revision history for this message
didier (did447-deactivatedaccount) wrote :

I'm not sure that the Ubuntu change about /bin/eject is needed but the following patch does:
1) factorize the killall in a daemon_running function.

2) if gnome-setting is running assume it take care of eject/load cd.
This one need a patched /bin/eject because on my Macs ioctl always return EIO and eject -T doesn't try to close the CD.
Also need to use eject -T as cmd in gnome-setting. cf bug #37785

3) don't close the drive just after ejecting it with /bin/eject