Hi, I'm working on a backup unit and I'm having some troubles with HAL.
Altough everything works fine with HAL and permissions, only usb pen drives are automatically monted, storage units like an external usb hdd are ignored.
So far, that's what I've done.
First of all, I've set a fixed mount point, because there are some scripts making the backup which need to know the it. I've set /media/toshiba by creating an HAL rules file, called 20-toshiba.fdi, under /etc/hal/fdi/policy/. This is the file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.uuid" string="3905-12E9">
<merge key="volume.label" type="string">toshiba</merge>
<merge key="storage.policy.should_mount" type="bool">true</merge>
<merge key="storage.automount_enabled_hint" type="bool">true</merge> <!-- if you want automount this should be true even if it may not be taken into account by the Desktop Environment -->
</match>
</device>
</deviceinfo>
This code works fine. But the hdd is not automatically mounted, the directory /media/toshiba is not automatically created. I use kde4 and the directory is only created when the plasmoid says a new device is connected and I do a mouse click.
With usb pen drives all works fine, directories under /media are automatically created.
Is there a rule to solve this problem? The hal reference manual on freedesktop.org has a broken link.
Thanks
Stefano