volume unmounting/ejecting broken on linux

Danny Kukawka danny.kukawka at web.de
Wed May 17 10:29:47 PDT 2006


On Wednesday 17 May 2006 19:00, William Jon McCann wrote:
[...]
> Almost but the GIVEN_EJECTOPTIONS shouldn't be quoted or eject will fail
> with a too many options error.

Okay ...

> Here's an update that fixes that and three other things.
> 1. The output from polkit-is-privileged must be captured or else it will
> mess up error reporting in the scripts.  It certainly produces a message
> if the command is not found.
> 2. Add the PACKAGE_BIN_DIR to the path so that polkit-is-privileged will
> be found if installing into a alternate root directory.
> 3. There was a missing UnknownError line before the backend not found
> message in hal-system-storage-cleanup-mountpoints

Sounds sane ... I added also UnknownError message in the case if a environment 
variable is missing/empty.

Danny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-tools_scripts_v5.diff
Type: text/x-diff
Size: 19182 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060517/39768404/hal-fix-tools_scripts_v5-0001.bin


More information about the hal mailing list