volume unmounting/ejecting broken on linux

William Jon McCann mccann at jhu.edu
Wed May 17 08:38:48 PDT 2006


Hi,

Danny Kukawka wrote:
> 
> IMO yes, the "./" is wrong. I updated the patch.
> 
> Danny

OK, I have it working with the attached patch.  The reason I didn't get 
any error messages in the log was because the "No back-end for your 
operating system" message wasn't paired with an signal name.  The 
following change requires pairs of lines of stderr:

http://webcvs.freedesktop.org/hal/hal/hald/hald_dbus.c?r1=1.52&r2=1.53

I've added an UnknownError message.

With that change it was clear that the problem was indeed not finding 
the backend script.  Your patch fixed that problem.

Then I found that the backend unmount script did not have the 
MOUNT_POINT variable defined.  It should be exported in the parent script.

The attached patch should fix it.

Thanks,
Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-tools_scripts_2.diff
Type: text/x-patch
Size: 11842 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060517/748c393b/hal-fix-tools_scripts_2.bin


More information about the hal mailing list