I may have found a workaround. It's difficult to be sure because the problem is intermittent on my system. The change disables auto-mount for all removable media. The technique was posted at http://osdir.com/ml/linux.debian.devel.live/2007-11/msg00070.html. In the 4 days since making this change I haven't had the problem and it hasn't caused any breakage (except auto-mount doesn't work but I can live with that).
Add this section to /etc/hal/fdi/policy/preferences.fdi ...
I may have found a workaround. It's difficult to be sure because the problem is intermittent on my system. The change disables auto-mount for all removable media. The technique was posted at http:// osdir.com/ ml/linux. debian. devel.live/ 2007-11/ msg00070. html. In the 4 days since making this change I haven't had the problem and it hasn't caused any breakage (except auto-mount doesn't work but I can live with that).
Add this section to /etc/hal/ fdi/policy/ preferences. fdi ...
<!--
Prevent automount
-->
<device> policy. should_ mount" bool="true"> policy. should_ mount" type="bool" >false< /merge> automount_ enabled_ hint" bool="true"> automount_ enabled_ hint" type="bool" >false< /merge> media_check_ enabled" bool="true"> media_check_ enabled" type="bool" >false< /merge> policy. should_ mount" bool="true"> policy. should_ mount" type="bool" >false< /merge> >true</ merge>
<match key="storage.
<merge key="storage.
</match>
<match key="storage.
<merge key="storage.
</match>
<match key="storage.
<merge key="storage.
</match>
<match key="volume.
<merge key="volume.
</match>
<match key="volume.ignore" bool="false">
<merge key="volume.ignore" type="bool"
</match>
</device>
If you try it YMMV so please post back whether it works for you or not.
Best
Charles