volume unmounting/ejecting broken on linux

Danny Kukawka danny.kukawka at web.de
Wed May 17 04:45:06 PDT 2006


On Wednesday 17 May 2006 12:44, Richard Hughes wrote:
> On Tue, 2006-05-16 at 17:02 -0400, William Jon McCann wrote:
> > Hi,
> >
> > It seems like removable volume unmounting and ejecting is broken in CVS
> > today.  I reverted to 2005-05-12 and it seems to work.
>
> Me too. Relevant HAL log attached.
>
> Obviously:
>
> [root at hughsie-laptop ~]# rm /media/size200new/.created-by-hal
> [root at hughsie-laptop ~]# rmdir /media/size200new/
>
> Fixed the problem for me, but why did it go wrong and not remove the
> mount-point?

I think because of the attached patch (untested atm). IMO the path to the OS 
specific scripts id wrong. 

Danny

 hal-luks-remove                        |    4 ++--
 hal-luks-remove.in                     |    4 ++--
 hal-luks-setup                         |    4 ++--
 hal-luks-teardown                      |    4 ++--
 hal-system-lcd-get-brightness          |    4 ++--
 hal-system-lcd-set-brightness          |    4 ++--
 hal-system-power-hibernate             |    4 ++--
 hal-system-power-reboot                |    4 ++--
 hal-system-power-set-power-save        |    4 ++--
 hal-system-power-shutdown              |    4 ++--
 hal-system-power-suspend               |    4 ++--
 hal-system-storage-cleanup-mountpoints |    4 ++--
 hal-system-storage-eject               |    4 ++--
 hal-system-storage-unmount             |    4 ++--
 14 files changed, 28 insertions(+), 28 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-tools_scripts.diff
Type: text/x-diff
Size: 10010 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060517/31572788/hal-fix-tools_scripts.bin


More information about the hal mailing list