[systemd-devel] What is the recommended way to replace hald hooks in the systemd world?
Barry Scott
barry.scott at onelan.co.uk
Fri Jul 15 03:14:58 PDT 2011
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
More information about the systemd-devel
mailing list