More of my porting from F16 to F20. I have the following in /etc/udev/rules.d
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" This run the ntb_mount_usb script as expected. The script on the ADD action ends up doing: mount -t ntfs -o uid=onelan,gid=onelan,noatime,noexec ${DEVNAME} /my-mount- point I have had the script do ps afx and systemd-cgls and see the mount.ntfs process is running. ├─systemd-udevd.service │ ├─ 409 /usr/lib/systemd/systemd-udevd │ ├─14863 /usr/lib/systemd/systemd-udevd │ ├─14867 /usr/lib/systemd/systemd-udevd │ ├─14868 /usr/lib/systemd/systemd-udevd │ ├─14869 /usr/lib/systemd/systemd-udevd │ ├─14876 /bin/bash /usr/local/onelan/ntb/bin/ntb_mount_usb │ ├─14886 /sbin/mount.ntfs /dev/sdb1 /data/data/external/USB_Memory_Stick -... │ └─14890 systemd-cgls But as soon as the script exits the mount.ntfs process is killed off by something? systemd-udevd maybe? How should I be doing this? Barry
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel