[PATCH] lost volume.mount_point when unmounting...

Danny Kukawka danny.kukawka at web.de
Wed Oct 26 12:29:47 PDT 2005


On Thursday 27 October 2005 00:57, Jonatan Liljedahl wrote:
> HAL sets volume.mount_point to "" BEFORE volume.is_mounted is set to
> "false".
>
> This makes it very difficult (impossible) for volume managers to remove
> a device from the desktop if they are configured to react on
> volume.is_mounted property change.

Why is this difficult? If you get the volume.is_mounted property change the 
device is not away in this case. If you need the mount point options use the 
key block.device instead to identify the volume. Or is there an other 
problem?  

Btw. I think the patch break the the HAL specifications and the behavior of 
the key/property. If you not set back the mountpoint to empty if the device 
is not in /proc/mounts it would be possible to have old values in this key.

Cheers,

Danny


More information about the hal mailing list