Re: [systemd-devel] What is the recommended way to replace hald hooks in the systemd world?
On Friday 15 July 2011 13:58:16 Lennart Poettering wrote: On Fri, 15.07.11 11:14, Barry Scott (barry.sc...@onelan.co.uk) wrote: 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=strlistntb_mount_usb -v/append append key=info.callouts.remove type=strlistntb_mount_usb -v/append /match /match /device /deviceinfo Do you recommmend staying with hal in F15 or using some other mechanism? You can use udev rules. to pull this in. Thanks for the pointer. I used udev and created these rules: ACTION==add, SUBSYSTEM==block, SUBSYSTEMS==usb, RUN+=/usr/local/onelan/ntb/bin/ntb_mount_usb ACTION==remove, SUBSYSTEM==block, SUBSYSTEMS==usb, RUN+=/usr/local/onelan/ntb/bin/ntb_mount_usb Barry ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] [PATCH] shutdown: pivot_root to a tmpfs directory to properly umount root
On 11.07.2011 22:59, Lennart Poettering wrote: On Mon, 04.07.11 12:49, Harald Hoyer (harald.ho...@gmail.com) wrote: On 30.06.2011 17:40, Harald Hoyer wrote: On 26.05.2011 13:35, Harald Hoyer wrote: Rebased pivot_root patches can be pulled from: http://git.surfsite.org//systemd.git git://git.surfsite.org/pub/git/systemd.git rebased rebased again to current git HEAD Lennart, care to pull the four patches? Merged. Thanks! Did another patch on top to make things following the usual coding style. Also, in missing.h we already have a definition of pivot_root, no need to duplicate that. I haven't tested this with a real initramfs yet. Is there already a working dracut version with this publicly available? Lennart pushed dracut-011 to rawhide, which has the shutdown functionality. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel