In F13 days we used HAL to call out to our code to handle
adding and removal of USB storage with this
/etc/hal/fdi/policy/90-onelan-mount.fdi policy file.

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
    <device>
        <match key="volume.fsusage" string="filesystem">
            <match key="@info.parent:storage.bus" string="usb">
                <append key="info.callouts.add" type="strlist">ntb_mount_usb 
-v</append>
                <append key="info.callouts.remove" type="strlist">ntb_mount_usb 
-v</append>
            </match>
        </match>
    </device>
</deviceinfo>

Do you recommmend staying with hal in F15 or using some other mechanism?

Barry
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to