Public bug reported:

Version: Kubuntu 7.04

User has no choice of automounting removable devices to static or dynamic mount 
points.
If Media Notifier Daemon is on, it keeps asking about inserted disks or flash 
drives. And if user defines "Do nothing" as the default action or stops Media 
Notifier, the automount just stops working! 

When Media Notifier is on and there is a string for cd/dvd drive in
/etc/fstab, mounting settings are disabled in properties dialog (right
click on device -> properties -> mounting tab).

User has to have choice between:
1. (Present state) Automount with Media Notifier with those dialogs
2. Automount without Media Notifier (or "Do Nothing actions") to dynamic mount 
points ()
3. Automount with Media Notifier to static mount points.

To achieve condition 3 i did the following:
1. Comment out any cd/dvd strings in /etc/fstab
2. Created file /usr/share/hal/fdi/policy/20thirdparty/95-static-mount.fdi with:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
    <device>
        <match key="block.device" string="/dev/hdc">
          <match key="volume.is_disc" bool="true">
            <merge key="volume.policy.should_mount" type="bool">true</merge>
            <merge key="volume.policy.desired_mount_point" 
type="string">dvd</merge>
          </match>
        </match>
    </device>
</deviceinfo>
3. Set "Do Nothing" as default actions for all kings of media in Media Notifier

** Affects: Ubuntu
     Importance: Undecided
         Status: New

-- 
Enable automount with static mount points
https://bugs.launchpad.net/bugs/124126
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to