GNOME Bugzilla – Bug 695281
USB sticks don't have can_stop == True
Last modified: 2018-09-21 17:21:33 UTC
https://git.gnome.org/browse/gvfs/commit/?id=b3f72bac introduced a very nice heuristics for Eject vs. Safe Remove, i. e. setting can_stop. https://git.gnome.org/browse/gvfs/commit/?id=cc6d3d29 limits this to media which don't have removable media. This is very sensible of course, as in general we want to show "Eject" for things like USB CD-Drives or MMC card readers. The practical (and old and well-known) problem is that most USB sticks lie about this and claim that they have removable media. I. e. $ cat /sys/block/sdb/removable 1 which is what ultimately determines drive->is_media_removable, I believe. It would be nice if we could loosen this requirement for can_stop, or add some heuristics to either gvfs' udisks2 monitor or udisks itself, but I realize this is going to be tricky. In particular, MMC/SD card readers look almost exactly like USB sticks sysfs-wise, except for having things like "Multi-Card" in their description and other device drivers. Any ideas about that?
Bug still exists in Fedora 18 (https://bugzilla.redhat.com/show_bug.cgi?id=919194), Ubuntu 13.04 (https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1067876) and OpenSuSe 12.3 (https://bugzilla.novell.com/show_bug.cgi?id=808447).
Bug exists in nautilus 3.10.1 (tested in Fedora 20). Please fix it.
Bug exists in nautilus 3.10.1 (tested in Arch). Please fix it.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/201.