You are not logged in.

#1 2008-11-21 19:54:33

keerthi
Member
Registered: 2007-11-18
Posts: 95

[HAL] Mount options for removable devices

I need my USB drives automounted with noatime mount options. Following the guidelines at http://wiki.archlinux.org/index.php/HAL, I created a file /usr/share/hal/fdi/policy/10osvendor/10-custom-mount-options.fdi with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
        <device>
                <match key="block.is_volume" bool="true">
                        <match key="@block.storage_device:storage.hotpluggable" bool="true">
                                <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
                        </match>
                        <match key="@block.storage_device:storage.removable" bool="true">
                                <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
                        </match>
                </match>
        </device>
</deviceinfo>

And then restarted HAL. Even tried reboot. But my drives still won't mount with noatime. Any help is much appreciated?

Offline

#2 2008-11-29 21:48:15

keerthi
Member
Registered: 2007-11-18
Posts: 95

Re: [HAL] Mount options for removable devices

[:bump:]

Offline

Board footer

Powered by FluxBB