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> 
    <match key="storage.policy.should_mount" bool="true"> 
      <merge key="storage.policy.should_mount" type="bool">false</merge> 
    </match> 
    <match key="storage.automount_enabled_hint" bool="true"> 
      <merge key="storage.automount_enabled_hint" type="bool">false</merge> 
    </match> 
      <match key="storage.media_check_enabled" bool="true"> 
        <merge key="storage.media_check_enabled" type="bool">false</merge> 
    </match> 
      <match key="volume.policy.should_mount" bool="true"> 
        <merge key="volume.policy.should_mount" type="bool">false</merge> 
    </match> 
      <match key="volume.ignore" bool="false"> 
        <merge key="volume.ignore" type="bool">true</merge> 
    </match> 
  </device> 

If you try it YMMV so please post back whether it works for you or not.

Best

Charles

-- 
DVD writer not working since hardy upgrade
https://bugs.launchpad.net/bugs/228624
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to