GNOME Bugzilla – Bug 148186
Eject on a CD-ROM does not eject anything
Last modified: 2005-02-13 00:11:42 UTC
After clicking eject on the CD-ROM icon, the CD-ROM is no longer on the desktop, but it is in the drive. the CD-ROM tray should open when the user clicks eject. Steps to reproduce: 1. Insert a CR-ROM 2. Right-click on the DC icon on the desktop, and select eject. Actual Results: The device is unmounted, but not ejected. Nothing informs the user what has just happened. Expected results: The CD-ROM tray opens. The user should not have to know anything about mounting and unmounting filesystems.
I can't reproduce this on Gnome 2.6.1. What version of Nautilus are you running?
$ nautilus --version Gnome nautilus 2.6.0 The drive is recognised by system-config-hardware as: Pioneer DVD-ROM ATAPIModel DVD-105S 011 Manufacturer: Pioneer Driver: none or built in Device: /dev/hdc
The bug is in libgnomevfs/gnome-vfs-volume-ops.c, gnome_vfs_drive_eject(): the condition whether to unmount or eject the drive is always true; attached patch fixes that to behave like intended. Now CD-ROMs are actually ejected. This fix comes from our Ubuntu distribution and has proven to be stable and working. Can you please adopt this?
Created attachment 31865 [details] [review] fix for actually ejecting CD-ROMs
I am getting this when using the menu in Computer under gnome 2.8 $ nautilus --version Gnome nautilus 2.8.0 Choosing eject from the menu on the desktop unmounts and ejects the drive fine, but the option in Computer only unmounts the device
This is a gnome-vfs issue, so reassigning there.
That should be fix in CVS head with this commit: 2005-01-11 Alexander Larsson <alexl@redhat.com> * libgnomevfs/gnome-vfs-volume-ops.c: (mount_unmount_thread), (mount_unmount_operation), (gnome_vfs_volume_unmount), (gnome_vfs_volume_eject), (gnome_vfs_drive_mount), (gnome_vfs_drive_eject): allow eject of unmounted volumes. Patch from Magnus Damm <magnus.damm@gmail.com