disable automount for a specified usb device
Andrea Squeri
andrea.squeri at gmail.com
Tue Jan 8 07:46:02 PST 2008
I want disable automount for a specific usb device.I have created a file
/usr/share/hal/fdi/policy/95userpolicy.fdi with those lines:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="block.storage_device"
string="/org/freedesktop/Hal/devices/storage_serial_JetFlash_TS256MJF110_7f3474a77ad686_0_0">
<merge key="storage.policy.should_mount" type="bool">false</merge>
<merge key="storage.automount_enabled_hint" type="bool">false</merge>
</match>
</device>
</deviceinfo>
When I insert the device it is always mounted automatically
How can disable this ?
More information about the hal
mailing list