GNOME Bugzilla – Bug 324839
Remove non-mountable USB media from "Computer"
Last modified: 2008-09-06 19:10:36 UTC
Please have "Computer" and disk mounter and such remove non-mountable media from the display when "Unmounted." Nautilus/GnomeVFS seems to 'eject' the media, leaving USB flash drives impossible to mount until physically removed and reinserted. Other information: If you try to mount an "unmounted" (ejected) USB drive, you get an error because Linux no longer recognizes it as a connected volume, just a connected ambiguous device. Unless you can HUP these things back into working order, they should be hidden.
Thanks for your bug. Are you drive listed by /etc/fstab? What version of GNOME do you use? Is gnomevfs built with hal? What distribution do you use? The USB devices should be detected by hal and listed only when plugged, that works fine for me
This is Ubuntu Dapper/Breezy/Hoary tested, using hal. This is what happens: 1. Plug in USB drive 2. GNOME/HAL mounts 3. Right-click, Unmount ("Computer" in nautilus) 4. Right-click, Mount. 5. "CANNOT MOUNT DRIVE!" In step (3), Gnome/HAL send 'eject' to the media to force flush the buffers, because not all USB sticks flush on umount. It's now disconnected, and the port can't be reset in the current subsystem. To mount the media again, it has to be removed and re-inserted. This may be done by using some kernel interface to virtually remove/insert the device (turn the USB port off and back on), but I don't know if that's physically possible by hardware spec.
Reassigning to GnomeVFS. I don't see why it shouldn't be allowed to remount this drive. Using the patch under [1], I'm able to remount it. [1] http://mail.gnome.org/archives/gnome-vfs-list/2006-February/msg00002.html
Any news on that? The issue is still happening with GNOME 2.14.0 as pointed by https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/34680
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome. If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs. @Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together. General further information: http://en.wikipedia.org/wiki/GVFS Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html