On 02/02/15 20:49, Lennart Poettering wrote:
> BTW, just to mention this. You can also just write:
>
> # systemctl start /home/myuser/data
That's good to know, thanks.
>
> This will automatically be translated to
> "home-myuser-data.mount". systemctl has some logic built in to
> translate strings that don't look like unit names into unit names.
>
> Essentially this hence means that this:
>
>    a) mount /home/myuser/data
>    b) systemctl start /home/myuser/data
>
> However, the latter respects the whole systemde depency logic, while
> the former just tries to mount the specified dir immediately, ignoring
> all deps.
yep, got that now. "mount" doesn't hit-up systemd so the deps don't happen.
I'll train my mind to remember option (b).


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

Reply via email to