[systemd-devel] Device names with dashes

Albert Strasheim fullung at gmail.com
Tue Apr 19 08:28:19 PDT 2011


Hello again

My previous problem with an After= referring to a device seems to have
been caused by a device with a dash in the name.

I had a service called mounter at dm-0.service with

BindTo=dev-%i.device
After=dev-%i.device

which fails to find dev-dm-0.device because systemd seems to be calling it:

dev-dm\x2d0.device        loaded active   plugged       /dev/dm-0

Is there any way to reconcile these two?

Regards

Albert


More information about the systemd-devel mailing list