On Sun, 12.04.15 22:33, Jan Luca Naumann (j.naum...@fu-berlin.de) wrote: > Hey Michael, > > it is very nice that you add this missing but useful feature :-) > > I'm not a systemd-developer so I want to ask you if it is possible to > add a hook for execute something after the unmount (for example to > delete the mount directory)?
Well, we don't really want logic like that in systemd I fear. Generally, with mounts we want to ensure that invoking /bin/mount or /bin/umount on a directory isn't too different in its effect than executing the same operations with systemd's own logic using "systemctl". That said, I must be convinced that we should add a high-level setting to mount units for removing directories after umount. Can you elaborate on the usecase please? Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel