HAL problems when unmounting after physical removal of usb key

Danny Kukawka danny.kukawka at web.de
Thu Feb 8 10:47:00 PST 2007


On Thursday 08 February 2007 19:24, Danny Kukawka wrote:
> On Thursday 08 February 2007 18:57, kareemy wrote:
[...]
> > [E] addon-storage.c:423: open failed for /dev/sdb: No such file or
> > directory.
>
> This problem is known and IMO there is a easy fix for this message (see
> attached patch)

IMO we can exit the addon if the (device)file is not available since I would 
assume that in this case (maybe better add a check if the error is ENOENT) 
the device is gone.

Danny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-linux-storage-addon_v2.diff
Type: text/x-diff
Size: 563 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070208/35fb76b0/hal-fix-linux-storage-addon_v2.bin


More information about the hal mailing list