Fails to umount

Pierre Ossman drzeus-list at drzeus.cx
Thu Jan 27 05:26:07 PST 2005


I have a MP3 player with both internal memory and a card reader. When
connected to a computer it shows up as two block devices. These work
fine most of the time with hal. fstab-sync sets them up correctly and
they are umounted properly when removed.

However, now and then it fails to umount the second of the two devices.
I put some printf:s in the code and figured out that volume.is_mounted
gets cleared before force_unmount is called. Since it rarely happens I
figure it's some form of race condition. I was hoping someone with more
intimate knowledge of hal could have a look and see what the problem
might be.

Hal version is 0.4.6 and it's running on a FC3 system.

Rgds
Pierre

_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list