! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Thunar should use requires_eject from HAL
Status:
CLOSED: FIXED
Product:
Thunar-vfs
Component:
General

Comments

Description Simon Naunton 2007-04-10 01:15:48 CEST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11
Build Identifier: 

Thunar should use requires_eject from HAL to determine whether or not a removable drive requires ejecting, or not. Currently, the eject option is coded to be available only for CD/DVD drives and their writable friends.

My experience of other removable drives, albeit with only iPods and the Fuji F10 digital camera, is that neither display that it is safe to remove unless they are ejected. Although data loss does not seem to occur on linux if they are only unmounted and not ejected, this is not the case with all OSes. For instance, in OS X, unless the above devices are ejected before removal the entire flash ram will be deleted and will require reformatting/reinitializing. Whilst this has nothing to do with XFCE, Linux or thunar, discouraging bad habits and being user friendly is well within the control of the thunar project.


Reproducible: Always

Steps to Reproduce:
1. Insert any removable drive that is not a CD or DVD drive
2. Right click -> mount on desktop icon.
3. Right click, no eject option available
4. ???
5. Profit



Expected Results:  
There should be an eject option for all media that reports that it needs it.
Comment 1 Benedikt Meurer editbugs 2007-04-27 15:38:30 CEST
2007-04-27      Benedikt Meurer <benny@xfce.org>

        * thunar-vfs/thunar-vfs-volume-freebsd.c,
          thunar-vfs/thunar-vfs-volume-hal.c,
          thunar-vfs/thunar-vfs-volume-private.h,
          thunar-vfs/thunar-vfs-volume.c: Use the requires_eject HAL
          property to determine whether a given volume is ejectable.
          Bug #3119.
Comment 2 Benedikt Meurer editbugs 2007-11-28 20:27:53 CET
*** Bug 3466 has been marked as a duplicate of this bug. ***

Bug #3119

Reported by:
Simon Naunton
Reported on: 2007-04-10
Last modified on: 2010-11-07
Duplicates (1):
  • 3466 storage.requires_eject not honoured

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information