> To achieve this:
> "Mount units must be named after the mount point directories they control."

> Our is there a better way?

Hm. Really. Anyway, looks like it's fixed/works in latest release:

systemctl enable [email protected] 
ln -s '/etc/systemd/system/[email protected]' 
'/etc/systemd/system/mnt-iit-bs-cifs-D.mount'

But hehe.. There is another bug, with escaping:

> grep Alias [email protected] 
Alias=mnt-iit\x2dbs\x2dcifs\x2d%i.mount

So alias created unescaped..

And it doesn't work anyway. Looks like templated .mount units couldn't
be supported with current restrictions. I.e. unit name with @ wont't be
equal to Where=, and templates in Alias= couldn't be resolved, because
of missing @..
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to